Commit Graph

76 Commits

Author SHA1 Message Date
Andrew Nacin
1c58ef9f33 Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.
git-svn-id: https://develop.svn.wordpress.org/trunk@21944 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-21 19:34:23 +00:00
Andrew Ozz
78f00b2ace Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338
git-svn-id: https://develop.svn.wordpress.org/trunk@21356 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 03:56:27 +00:00
Andrew Ozz
e0c0df2587 Widgets: Add the name of the widget to the Add and Edit buttons on the Accessible Widget Management Screen, props cannona, fixes #21338
git-svn-id: https://develop.svn.wordpress.org/trunk@21355 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 03:33:38 +00:00
Ryan Boren
2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Jon Cave
60d321b14b Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18632 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 14:18:10 +00:00
Ryan Boren
ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren
36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
scribu
32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
Andrew Nacin
d8c91db1f4 Remove more create_function calls. props huichen, see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin
9ac3468253 Update phpdoc for wp_list_widgets(). fixes #15373.
git-svn-id: https://develop.svn.wordpress.org/trunk@16269 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 12:28:03 +00:00
Mark Jaquith
d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
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