Commit Graph

115 Commits

Author SHA1 Message Date
Andrew Ozz b627c99686 Check the sidebar class for orphaned sidebars, match sidebars by id while retrieving orphans and the theme has not changed, props SergeyBiryukov, fixes #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19455 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 06:16:43 +00:00
Dion Hulse 9ad74044d1 Add a missing translation. Props yuraz, vanillalounge. Fixes #19359
git-svn-id: https://develop.svn.wordpress.org/trunk@19454 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 04:08:38 +00:00
Andrew Ozz c101a7edb4 Update the text for inactive sidebars, props chrisbliss18 SergeyBiryukov, fixes #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19453 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 20:00:21 +00:00
Andrew Ozz 67d5755f87 Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350
git-svn-id: https://develop.svn.wordpress.org/trunk@19452 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 19:46:41 +00:00
Andrew Ozz ed8feb2912 Move the check whether the theme supports widgets before we register any extra sidebars, fixes #19352
git-svn-id: https://develop.svn.wordpress.org/trunk@19449 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 17:44:53 +00:00
Ryan Boren 4ae0813953 Help tabs. Props chexee. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19445 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:21:39 +00:00
Andrew Ozz 0f3de5ede9 Prevent errors in assigning widgets to sidebars for themes with dynamic sidebars, props batmoo, fixes #19274
git-svn-id: https://develop.svn.wordpress.org/trunk@19334 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 07:00:26 +00:00
Andrew Nacin 33ee9a7d04 s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Andrew Nacin 2efff75050 Revert [18861], [18862], [18864], [18874], [18879], and [18880]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18911 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:57:12 +00:00
Dion Hulse c91838bd7d Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
git-svn-id: https://develop.svn.wordpress.org/trunk@18882 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:09:51 +00:00
Andrew Ozz 98554b4bb6 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18867 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 04:00:57 +00:00
Andrew Ozz d0d3855285 Add screen_options with contextual content, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Andrew Ozz bcd9d1a36e Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18631 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 03:01:11 +00:00
Andrew Ozz 4782c3dc6f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18630 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 22:13:55 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Ryan Boren f844db8e41 Add context for widget Deactivate string. Props ocean90. fixes #17295
git-svn-id: https://develop.svn.wordpress.org/trunk@17824 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 20:38:49 +00:00
Andrew Nacin f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren 2ac45785a3 Contextual help updates. Props dougwrites. see #15346
git-svn-id: https://develop.svn.wordpress.org/trunk@16326 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 15:03:34 +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
Dion Hulse 82443ce769 Use Absolute URL's & API's in header redirects in more locations. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16008 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:43:43 +00:00
Andrew Nacin 53d3846f6a target=blank for help. props jorbin, see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15132 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:00:39 +00:00
Ryan Boren f69da134f5 Help text cleanup. Props zeo. fixes #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15126 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 13:37:51 +00:00
Andrew Nacin 8c693e492e Help fixes, props jane. fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15103 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:54:14 +00:00
Nikolay Bachiyski 432ac03fb2 Menu translatable strings cleanup.
* Take out <strong> of the translatable part of For more information:
 * Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes


git-svn-id: https://develop.svn.wordpress.org/trunk@14989 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:52:15 +00:00
Ryan Boren 2c97921f07 Help for Appearance screens. Props duck_, jane. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14951 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 18:27:13 +00:00
Andrew Nacin 49e4cad78c Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:19:57 +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 ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Andrew Nacin aef79be496 Add action to top of widgets.php. props ptahdunbar, fixes #12190
git-svn-id: https://develop.svn.wordpress.org/trunk@13525 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 08:16:04 +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 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Andrew Ozz 060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +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 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 5a36aa00cd Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11837 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 09:53:37 +00:00
Andrew Ozz 987dcbda89 Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
git-svn-id: https://develop.svn.wordpress.org/trunk@11824 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 01:56:21 +00:00
Andrew Ozz 997f1af1c8 Add "Accessibility Mode" for widgets screen (can be turned on from Screen Options). Add set_user_setting() to the UI state saving functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@11503 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-01 23:31:34 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +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
Andrew Ozz 29ed683636 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11427 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:08:51 +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
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
Andrew Ozz 8788a2520e Add wpspin_light and wpspin_dark spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11203 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 18:57:43 +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 263b761408 Do not import sidebars by index after switching themes, props Denis-de-Bernardy, see #9695
git-svn-id: https://develop.svn.wordpress.org/trunk@11161 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 07:53:54 +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