Commit Graph

8833 Commits

Author SHA1 Message Date
markjaquith
bc3fc076e1 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: http://svn.automattic.com/wordpress/trunk@18887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 17:48:41 +00:00
dd32
ecbc046a59 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: http://svn.automattic.com/wordpress/trunk@18883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:14:41 +00:00
dd32
5ad995f089 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: http://svn.automattic.com/wordpress/trunk@18882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 07:09:51 +00:00
koopersmith
725bcef080 Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-05 06:39:30 +00:00
azaozz
92cba72bef Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@18880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 23:10:02 +00:00
azaozz
d0ceca2496 Make $current_screen->add_option() easier to use, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 17:21:59 +00:00
ryan
760a1f8b6c Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: http://svn.automattic.com/wordpress/trunk@18878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:09:24 +00:00
ryan
5e247750a1 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: http://svn.automattic.com/wordpress/trunk@18876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 16:00:36 +00:00
azaozz
41429f32a9 Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: http://svn.automattic.com/wordpress/trunk@18875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 04:14:36 +00:00
azaozz
bc6411bb52 Deprecate favorite_actions(), add_contextual_help(), add_screen_option(), move meta_box_prefs() and get_screen_icon() in WP_Screen, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-04 03:32:12 +00:00
azaozz
6e0729790f Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:36:19 +00:00
ryan
69994de5d1 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: http://svn.automattic.com/wordpress/trunk@18871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:30:07 +00:00
azaozz
40794ebcd5 Fix typo when setting post_format in Press This.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 16:22:38 +00:00
ryan
435b3a0177 Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:35:43 +00:00
ryan
401c841c93 Use 'View Post' instead of '#' for view post links in comment rows. Props SergeyBiryukov. fixes #18846
git-svn-id: http://svn.automattic.com/wordpress/trunk@18868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 14:03:01 +00:00
azaozz
bbafdfa0e5 Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-03 04:00:57 +00:00
koopersmith
dbd18bea3d Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 18:19:49 +00:00
azaozz
3575537e5f Add screen_options with contextual content, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 06:59:36 +00:00
nacin
f626113f33 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-02 00:04:30 +00:00
azaozz
9662f2f87e Add phpdoc for the section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 22:22:33 +00:00
azaozz
0df31fc3c4 Separate the tab title from the help section title, see #18690
git-svn-id: http://svn.automattic.com/wordpress/trunk@18861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 21:18:04 +00:00
azaozz
9e37d9490d Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: http://svn.automattic.com/wordpress/trunk@18860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 20:50:08 +00:00
nacin
fcba7735c0 Deprecate screen_meta(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:13:27 +00:00
nacin
e635d0befc Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 18:07:41 +00:00
nacin
5522818ed3 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: http://svn.automattic.com/wordpress/trunk@18857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 17:59:46 +00:00
koopersmith
322c2bde5e Properly print per-page options. see #18690, [18853].
git-svn-id: http://svn.automattic.com/wordpress/trunk@18854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 03:21:36 +00:00
koopersmith
2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
azaozz
7be002d642 Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: http://svn.automattic.com/wordpress/trunk@18852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:19:07 +00:00
azaozz
ccb65a88b4 Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:12:39 +00:00
azaozz
d7a9037fec Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: http://svn.automattic.com/wordpress/trunk@18850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 22:52:29 +00:00
nacin
8721427446 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 21:35:05 +00:00
markjaquith
f1a1d07a13 More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@18843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:31:52 +00:00
ryan
ed4c502e16 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: http://svn.automattic.com/wordpress/trunk@18842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:26:14 +00:00
markjaquith
37e23be4ed Be more consistent with ERROR: messages. fixes #15887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
ryan
33113c01c7 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: http://svn.automattic.com/wordpress/trunk@18839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:47:02 +00:00
azaozz
816fcad9e2 Fix editor detection when inserting image, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 16:00:11 +00:00
nacin
cb3ab86c7c Compress and bump media.css. see #17578.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:23:46 +00:00
nacin
cb1477ecfd 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: http://svn.automattic.com/wordpress/trunk@18831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 06:22:29 +00:00
nacin
4adc74c379 Update Feedback support URL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 05:26:40 +00:00
azaozz
f5e6304ca6 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@18829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 04:13:44 +00:00
azaozz
3be0b41d68 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: http://svn.automattic.com/wordpress/trunk@18828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:59:49 +00:00
azaozz
75432d53b0 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: http://svn.automattic.com/wordpress/trunk@18823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:47:52 +00:00
ryan
2edc82cd61 * 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: http://svn.automattic.com/wordpress/trunk@18821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:41:22 +00:00
nacin
f186494c9a Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +00:00
nacin
2a38f122ab Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:28:29 +00:00
nacin
3440dbb182 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: http://svn.automattic.com/wordpress/trunk@18818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:21:15 +00:00
nacin
a418189fe2 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 19:57:36 +00:00
nacin
ccf47d55c4 Remove remnants of show_admin_bar_admin. see #18811, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 06:12:51 +00:00
nacin
e296e48b3d Stop remembering the last viewed plugins screen. Always show all plugins when returning to plugins.php. fixes #18810.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:54:05 +00:00
nacin
8c731f1cb2 Space out and capitalize 'Auto' in screen options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 05:28:00 +00:00