Commit Graph

8818 Commits

Author SHA1 Message Date
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
Daryl Koopersmith d6f613fcd3 Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 18:19:49 +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 Nacin da55be56a6 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18863 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 00:04:30 +00:00
Andrew Ozz b59e63f01f Add phpdoc for the section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18862 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 22:22:33 +00:00
Andrew Ozz f928bc51eb Separate the tab title from the help section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 21:18:04 +00:00
Andrew Ozz 4f289db37a Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: https://develop.svn.wordpress.org/trunk@18860 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 20:50:08 +00:00
Andrew Nacin 8bbc643454 Deprecate screen_meta(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18859 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:13:27 +00:00
Andrew Nacin f214ef7d99 Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18858 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:07:41 +00:00
Andrew Nacin c0b2567366 Move all new WP_Screen properties to private. We should introduce getters. Correct legacy (and ideally read-only) properties to @access public. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18857 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 17:59:46 +00:00
Daryl Koopersmith 206aa49499 Properly print per-page options. see #18690, [18853].
git-svn-id: https://develop.svn.wordpress.org/trunk@18854 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 03:21:36 +00:00
Daryl Koopersmith a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz 1aad45debc Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: https://develop.svn.wordpress.org/trunk@18852 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:19:07 +00:00
Andrew Ozz 8c9d5285ac Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: https://develop.svn.wordpress.org/trunk@18851 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:12:39 +00:00
Andrew Ozz 684727610f Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: https://develop.svn.wordpress.org/trunk@18850 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:52:29 +00:00
Andrew Nacin c4d4799424 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18847 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 21:35:05 +00:00
Mark Jaquith b587d4c2ac More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: https://develop.svn.wordpress.org/trunk@18843 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:31:52 +00:00
Ryan Boren 35130709a7 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: https://develop.svn.wordpress.org/trunk@18842 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:26:14 +00:00
Mark Jaquith a3bdf19206 Be more consistent with ERROR: messages. fixes #15887
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Ryan Boren f1423b28e5 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: https://develop.svn.wordpress.org/trunk@18839 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:47:02 +00:00
Andrew Ozz e8fd0746c8 Fix editor detection when inserting image, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18837 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:00:11 +00:00
Andrew Nacin 5efcc6e8fc Compress and bump media.css. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18832 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:23:46 +00:00
Andrew Nacin 19d613fed2 Merge the four media buttons into one.
* Lots of red.
 * Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
 * Replacement filter is a generic type_url_form_media filter for the new unified form.
 * Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578.



git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Nacin a42d391108 Update Feedback support URL.
git-svn-id: https://develop.svn.wordpress.org/trunk@18830 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 05:26:40 +00:00
Andrew Ozz 242c897d96 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: https://develop.svn.wordpress.org/trunk@18829 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 04:13:44 +00:00
Andrew Ozz cfc8bd3d53 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: https://develop.svn.wordpress.org/trunk@18828 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:59:49 +00:00
Andrew Ozz b969d2ea80 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Ryan Boren 8e77c91883 * Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine  a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598


git-svn-id: https://develop.svn.wordpress.org/trunk@18821 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:41:22 +00:00
Andrew Nacin 0cd9b83b64 Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: https://develop.svn.wordpress.org/trunk@18820 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:39:55 +00:00
Andrew Nacin eb00fdb5cb Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: https://develop.svn.wordpress.org/trunk@18819 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:28:29 +00:00
Andrew Nacin 106a94406e Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:21:15 +00:00
Andrew Nacin 4aee3254f3 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18817 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:57:36 +00:00
Andrew Nacin bb89b80c5b Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18812 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:12:51 +00:00
Andrew Nacin a854604f54 Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: https://develop.svn.wordpress.org/trunk@18811 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:54:05 +00:00
Andrew Nacin 8585471f13 Space out and capitalize 'Auto' in screen options.
git-svn-id: https://develop.svn.wordpress.org/trunk@18808 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:28:00 +00:00
Andrew Ozz c9c3eb7a6d Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Ozz bbd210992d Add filter so the users can select custom image sizes added by themes and plugins, props alexkingorg, fixes #18520
git-svn-id: https://develop.svn.wordpress.org/trunk@18802 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 17:27:48 +00:00
Andrew Ozz 412422f15c Remove max-width from list tables. Better to limit the width on individual fields or areas where readability is impacted, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18801 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 16:05:59 +00:00
Andrew Ozz 13c72ba193 Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18799 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 07:26:34 +00:00
Andrew Ozz 2a7b8b4764 Add error message when loading the preview image in the image editor fails, fixes #18723
git-svn-id: https://develop.svn.wordpress.org/trunk@18798 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 06:08:56 +00:00
Daryl Koopersmith 91c746f586 Add dashboard help tabs, revise help tab layout and code. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18797 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 00:57:56 +00:00
Andrew Nacin 35edc4264d Release a user's post lock when the user leaves a post. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18796 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 20:52:07 +00:00
Ryan Boren d7d3a5c41b Revert fat fingers in [18793]. see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18794 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:33:51 +00:00
Ryan Boren fddfc14c88 First pass of WP_Screen phpdoc. see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18793 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 14:30:56 +00:00
Jon Cave 070aa4e1f1 _wp_menu_output() speed up and clean up. Props dragoonis. Fixes #13662.
Attempt file_exists() last and cache an array index lookup for speed up. Whitespace and appropriate parentheses for readability.


git-svn-id: https://develop.svn.wordpress.org/trunk@18792 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 10:22:58 +00:00
Andrew Nacin 4b03f4253b wp_set_post_lock() only takes one argument. see #18515.
git-svn-id: https://develop.svn.wordpress.org/trunk@18790 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 06:11:30 +00:00
Andrew Nacin 30f64015c2 Make WP_Screen final until we know which direction we want to go with it. Other keyword decorations. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18784 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 23:31:54 +00:00
Andrew Nacin 44724de2e8 Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18782 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:32:10 +00:00
Andrew Nacin 601a70fe8e And fix this variable. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@18781 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:15:57 +00:00
Andrew Nacin d5dee542e5 Use correct variable. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18780 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:11:46 +00:00