Commit Graph

63 Commits

Author SHA1 Message Date
Andrew Nacin 5d808fce86 Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Mark Jaquith 2cc4860510 Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
git-svn-id: https://develop.svn.wordpress.org/trunk@12360 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 08:51:36 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Andrew Ozz 7c3f9cf02b Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: https://develop.svn.wordpress.org/trunk@12213 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 09:12:16 +00:00
Andrew Ozz a7105d5e12 Do not reuse deleted widget instances IDs, fixes #10092 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11577 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 23:57:52 +00:00
Andrew Ozz f0cc116f8a Using css to hide the Save button in widgets without settings, props Denis-de-Bernardy, fixes #10020
git-svn-id: https://develop.svn.wordpress.org/trunk@11516 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-04 00:52:31 +00:00
Andrew Ozz f1b8716b93 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: https://develop.svn.wordpress.org/trunk@11498 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-31 11:34:08 +00:00
Andrew Ozz f5fa5294ed Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11445 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 15:46:09 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Andrew Ozz 3de68bc265 Fix notice in wp-admin/includes/widgets.php
git-svn-id: https://develop.svn.wordpress.org/trunk@11309 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 19:12:50 +00:00
Andrew Ozz ef81374592 Sort widgets by name case insensitive, fixes #9766
git-svn-id: https://develop.svn.wordpress.org/trunk@11247 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 06:56:27 +00:00
Andrew Ozz f6a357da51 Append the widget's title to the header, adjust sidebar height after changing widgets, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11246 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 00:49:48 +00:00
Mark Jaquith c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren dbf0dd1a1a Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@11177 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 19:53:39 +00:00
Ryan Boren 9d6444bc64 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@11174 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 18:02:00 +00:00
Ryan Boren cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Andrew Ozz 90e500ae36 Widgets UI improvements: arrows, some more help
git-svn-id: https://develop.svn.wordpress.org/trunk@11166 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 01:19:10 +00:00
Andrew Ozz a2bbfe9f26 Make is_active_widget() optionally look in 'wp_inactive_widgets' for use in the admin
git-svn-id: https://develop.svn.wordpress.org/trunk@11164 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 23:20:26 +00:00
Andrew Ozz d578c68a73 Widgets UI styling, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11160 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 05:27:13 +00:00
Andrew Ozz d9e724974f 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: https://develop.svn.wordpress.org/trunk@11155 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-02 00:21:16 +00:00
Andrew Ozz e3830feb21 Remove remnants from widgets search, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11041 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 01:06:15 +00:00
Andrew Ozz cf45258321 Add and edit widget when js is disabled, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11009 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 10:58:50 +00:00
Andrew Ozz c45f4d0a53 Save widget when pressing Enter, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10941 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 23:25:28 +00:00
Andrew Ozz a902058b25 Resizing and animation for widgets, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10916 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 01:17:59 +00:00
Andrew Ozz 6c25581ab4 Notice fix for widgets.php, props sivel, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10913 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-12 17:04:47 +00:00
Andrew Ozz 8e48888e47 Widgets page, first run, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10912 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-11 14:37:24 +00:00
Ryan Boren 3fe87a2049 Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10680 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 19:20:19 +00:00
Andrew Ozz 7025eab0c8 Widgets background and new style buttons
git-svn-id: https://develop.svn.wordpress.org/trunk@9944 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-28 10:54:01 +00:00
Ryan Boren f021172259 Add save changes reminder to Widgets admin pending revamp in 2.8. Props mdawaffe. fixes #7863
git-svn-id: https://develop.svn.wordpress.org/trunk@9140 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 23:09:15 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Peter Westwood b9770c6ca8 Notice fixes for the widgets admin page see #7509.
git-svn-id: https://develop.svn.wordpress.org/trunk@8945 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-21 20:57:04 +00:00
Peter Westwood 8e25586a4e Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-21 20:41:25 +00:00
Ryan Boren 3e43adeb6e phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@8912 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 00:40:10 +00:00
Mark Jaquith 13e463fd0e 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: https://develop.svn.wordpress.org/trunk@8700 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 06:42:19 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 32391d9b2a Fix pass-by-ref error. Props DD32. fixes #7241
git-svn-id: https://develop.svn.wordpress.org/trunk@8258 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-04 16:16:25 +00:00
Ryan Boren 64e67e2d76 Add php end tag. fixes #7111
git-svn-id: https://develop.svn.wordpress.org/trunk@8063 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-09 17:36:39 +00:00
Ryan Boren 0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Ryan Boren 3dbf807fab Widget edit link layout fixes from mdawaffe. fixes #6371
git-svn-id: https://develop.svn.wordpress.org/trunk@7964 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 19:57:38 +00:00
Ryan Boren fa8adc72c6 Some URL cleaning
git-svn-id: https://develop.svn.wordpress.org/trunk@7962 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 18:01:43 +00:00
Ryan Boren 38bcb99561 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7881 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 02:05:18 +00:00
Ryan Boren 714c276a62 Tweak unused widgets interface. Make widget titles less repetitive. fixes #6349 #5823 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7726 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-17 20:36:59 +00:00
Ryan Boren e9f8e71210 Fix bad incrementor in widgets. Props mdawaffe. fixes #6350
git-svn-id: https://develop.svn.wordpress.org/trunk@7469 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 08:17:37 +00:00
Matt Mullenweg 1796a056d8 Don't dupe widget titles. Fixes #6349. Hat tip: mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@7467 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-22 07:35:11 +00:00
Ryan Boren 21539c80a4 Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239
git-svn-id: https://develop.svn.wordpress.org/trunk@7362 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 23:25:05 +00:00
Ryan Boren 79f4ab9a35 i18n fixes from nbachiyski. fixes #6226
git-svn-id: https://develop.svn.wordpress.org/trunk@7300 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:56:43 +00:00
Peter Westwood e63fc7126a Better protection against double widget insertion. Fixes #6191 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@7275 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-13 21:33:11 +00:00
Ryan Boren eda2d37158 Don't show multi widgets multi times in available widgets. Props mdawaffe. fixes #6162
git-svn-id: https://develop.svn.wordpress.org/trunk@7243 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 18:01:22 +00:00