Commit Graph

58 Commits

Author SHA1 Message Date
azaozz fe813ce063 Do not reuse deleted widget instances IDs, fixes #10092 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 23:57:52 +00:00
azaozz 84ff783414 Using css to hide the Save button in widgets without settings, props Denis-de-Bernardy, fixes #10020
git-svn-id: http://svn.automattic.com/wordpress/trunk@11516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-04 00:52:31 +00:00
azaozz b7bc0faa73 Reload the widget form with the ajax response after save, add Close link to the widgets, don't auto-close on save to show possible errors returned from validation
git-svn-id: http://svn.automattic.com/wordpress/trunk@11498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-31 11:34:08 +00:00
azaozz 13c7249671 Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 15:46:09 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
azaozz 12be75ed58 Fix notice in wp-admin/includes/widgets.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@11309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 19:12:50 +00:00
azaozz aea091d87d Sort widgets by name case insensitive, fixes #9766
git-svn-id: http://svn.automattic.com/wordpress/trunk@11247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 06:56:27 +00:00
azaozz ad6e4d1a41 Append the widget's title to the header, adjust sidebar height after changing widgets, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-10 00:49:48 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan d3847a2f53 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@11177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 19:53:39 +00:00
ryan c76426b42c Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@11174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 18:02:00 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
azaozz 7d778bdaca Widgets UI improvements: arrows, some more help
git-svn-id: http://svn.automattic.com/wordpress/trunk@11166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 01:19:10 +00:00
azaozz 4ad76521d5 Make is_active_widget() optionally look in 'wp_inactive_widgets' for use in the admin
git-svn-id: http://svn.automattic.com/wordpress/trunk@11164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 23:20:26 +00:00
azaozz 83952bee95 Widgets UI styling, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-03 05:27:13 +00:00
azaozz aae118f16c Add action "in_widget_form" allowing plugins to add extra fields, don't show "Save" button if a widget doesn't have settings form, fixes #9651
git-svn-id: http://svn.automattic.com/wordpress/trunk@11155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-02 00:21:16 +00:00
azaozz 4258da8a23 Remove remnants from widgets search, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 01:06:15 +00:00
azaozz 0200501698 Add and edit widget when js is disabled, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 10:58:50 +00:00
azaozz 77a7c69770 Save widget when pressing Enter, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 23:25:28 +00:00
azaozz 076dc80a08 Resizing and animation for widgets, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 01:17:59 +00:00
azaozz 0981f69b02 Notice fix for widgets.php, props sivel, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-12 17:04:47 +00:00
azaozz 123d7ee968 Widgets page, first run, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@10912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-11 14:37:24 +00:00
ryan 0bf194de3b Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 19:20:19 +00:00
azaozz 741624aae1 Widgets background and new style buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 10:54:01 +00:00
ryan 82be75124d Add save changes reminder to Widgets admin pending revamp in 2.8. Props mdawaffe. fixes #7863
git-svn-id: http://svn.automattic.com/wordpress/trunk@9140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 23:09:15 +00:00
ryan 5fd146865b phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@9053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 01:03:26 +00:00
westi cd7d1d1aab Notice fixes for the widgets admin page see #7509.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:57:04 +00:00
westi 95e26235ad Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-21 20:41:25 +00:00
ryan e3f6b2b271 phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: http://svn.automattic.com/wordpress/trunk@8912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 00:40:10 +00:00
markjaquith e0f519adc5 Consolidate our hide-if-no-js CSS/jQuery stuff. Now, just: hide-if-js, hide-if-no-js. Simple, easy to remember.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-21 06:42:19 +00:00
ryan 35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan c2814da3f1 Fix pass-by-ref error. Props DD32. fixes #7241
git-svn-id: http://svn.automattic.com/wordpress/trunk@8258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-04 16:16:25 +00:00
ryan 975a9c5120 Add php end tag. fixes #7111
git-svn-id: http://svn.automattic.com/wordpress/trunk@8063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-09 17:36:39 +00:00
ryan 68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
ryan a54eb08d09 Widget edit link layout fixes from mdawaffe. fixes #6371
git-svn-id: http://svn.automattic.com/wordpress/trunk@7964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 19:57:38 +00:00
ryan 74f878d040 Some URL cleaning
git-svn-id: http://svn.automattic.com/wordpress/trunk@7962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-20 18:01:43 +00:00
ryan 7623315990 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 02:05:18 +00:00
ryan 3821189be8 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-17 20:36:59 +00:00
ryan 058a14bccc Fix bad incrementor in widgets. Props mdawaffe. fixes #6350
git-svn-id: http://svn.automattic.com/wordpress/trunk@7469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 08:17:37 +00:00
matt 32d9449194 Don't dupe widget titles. Fixes #6349. Hat tip: mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-22 07:35:11 +00:00
ryan d9f9cd0375 Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239
git-svn-id: http://svn.automattic.com/wordpress/trunk@7362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-17 23:25:05 +00:00
ryan 4be6f03439 i18n fixes from nbachiyski. fixes #6226
git-svn-id: http://svn.automattic.com/wordpress/trunk@7300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 19:56:43 +00:00
westi 04543417c9 Better protection against double widget insertion. Fixes #6191 props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-13 21:33:11 +00:00
ryan a3395b364e Don't show multi widgets multi times in available widgets. Props mdawaffe. fixes #6162
git-svn-id: http://svn.automattic.com/wordpress/trunk@7243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 18:01:22 +00:00
ryan 93f0add73b Make sure widget is available before trying to display it in the admin. Props mdawaffe. fixes #6149
git-svn-id: http://svn.automattic.com/wordpress/trunk@7242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 17:42:09 +00:00
ryan 121991894a Make titles for multiple instances of a widget distinct. Props mdawaffe. fixes #6108
git-svn-id: http://svn.automattic.com/wordpress/trunk@7219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 23:23:32 +00:00
ryan 693df6dea7 Dashboard IE fixes from mdawaffe. see #5750
git-svn-id: http://svn.automattic.com/wordpress/trunk@7197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 05:47:07 +00:00
ryan f529aef82d Widget admin layout fixes from mdawaffe. fixes #5997
git-svn-id: http://svn.automattic.com/wordpress/trunk@7086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 09:11:11 +00:00
ryan b2838e11c7 Fix widgets using old-style multi instance support. Props mdawaffe. fixes #6023
git-svn-id: http://svn.automattic.com/wordpress/trunk@7080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-28 00:31:46 +00:00