Commit Graph

17357 Commits

Author SHA1 Message Date
Andrew Ozz 70a7bb3fe0 Fix prepending $editor_id to the Add Media link, see #17578
git-svn-id: https://develop.svn.wordpress.org/trunk@18918 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:12:55 +00:00
Andrew Ozz a115821842 Add cap check before showing a link to image options, improved handling for translation, props SergeyBiryukov, see #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18917 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 16:59:33 +00:00
Andrew Nacin 679dbc6a78 No translators, you don't need to localize a non-breaking space.
git-svn-id: https://develop.svn.wordpress.org/trunk@18916 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 06:41:51 +00:00
Andrew Nacin bc94322a01 Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18915 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:26:44 +00:00
Andrew Nacin fa861b4bf3 Move the Screen Options tab to the top and introduce a new 'overview' screen option, which accepts content for the top of this tab. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18914 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:23:33 +00:00
Andrew Nacin e6292eed96 Remove redundant help tab title from the tab body. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18913 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 05:00:38 +00:00
Andrew Nacin 209ba5a53f Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18912 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:58:36 +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
Andrew Nacin d9f0fec29c Revert CSS that slipped into [18874]. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18910 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 03:29:49 +00:00
Ryan Boren b412d5f082 Don't stomp meta fields in wp_update_user(). Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18909 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 02:34:41 +00:00
Andrew Nacin a488f8e686 Match plugins-per-page viewed defaults when no user option exists. fixes #18878 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18908 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 23:43:20 +00:00
Mark Jaquith a08a12b46a Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688
git-svn-id: https://develop.svn.wordpress.org/trunk@18907 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 21:09:37 +00:00
Ryan Boren 7af65a1402 Do only one empty check. Clean up whitespace. Props SergeyBiryukov. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18906 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 19:13:44 +00:00
Ryan Boren 3932ffbff8 Avoid Warning: array_keys() expects parameter 1 to be array, boolean given. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18905 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 18:49:38 +00:00
Andrew Nacin 237d132595 @since for screen_meta(), screen_options(), screen_layout(). props SergeyBiryukov, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18904 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 16:24:14 +00:00
Andrew Ozz fcecbaa30c Combine few styles for column containers, props olleicua, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18903 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 14:37:55 +00:00
Andrew Ozz 390650f410 As per the recommendations: make the text inside the files drop box larger, improve the explanation about the "resize image" checkbox, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18902 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:57:50 +00:00
Andrew Ozz 04c169ba44 Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18901 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:18:56 +00:00
Andrew Ozz 7ac7aeae29 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Ryan Boren 319d070078 Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Daryl Koopersmith e7ab67e395 Adjust admin bar item order. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18898 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:02:18 +00:00
Andrew Nacin 44a62f0b3b Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180). fixes #18865, see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18897 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:42:11 +00:00
Daryl Koopersmith d9d201289e Refine new help styles. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18896 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:15:19 +00:00
Andrew Nacin a8638d222d Align the bytes.
git-svn-id: https://develop.svn.wordpress.org/trunk@18895 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:57:17 +00:00
Andrew Nacin 7b1d7c6f12 type_url_form_image() becomes wp_media_insert_url_form(), media_upload_image() becomes wp_media_upload_handler(). type_url_form_* and media_upload_* are restored as wrappers. Don't deprecate yet. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18894 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:36:03 +00:00
Andrew Nacin ac958d3ec6 Oops. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18893 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:05:43 +00:00
Andrew Nacin 0a6ff4024f Kill the multisite mu_media_buttons option. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18892 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 22:04:09 +00:00
Andrew Nacin 1b836047af Compress and bump scripts for [18890]. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18891 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:08:16 +00:00
Andrew Nacin e386cb17c5 UI touches for the single media button. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Andrew Ozz 22f4cdc7d7 Revert 'auto' column setting, props markjaquith, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18889 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:46:21 +00:00
Daryl Koopersmith c9e4b0fcb9 Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18888 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:45:32 +00:00
Mark Jaquith 46737bef61 Pass both parameters to the sanitize_option_FOO callback set in register_setting(). props lumination. fixes #15335
git-svn-id: https://develop.svn.wordpress.org/trunk@18887 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:48:41 +00:00
Mark Jaquith 0fe5c09e64 Give custom background CSS more specificity. props GaryJ. fixes #18698
git-svn-id: https://develop.svn.wordpress.org/trunk@18886 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:20:43 +00:00
Dion Hulse f07212c873 Document that add_query_arg() expects encoded data. See #18086
git-svn-id: https://develop.svn.wordpress.org/trunk@18885 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 11:03:56 +00:00
Dion Hulse 2b00bcf9f0 Encode extra query vars in Canonical Taxonomy redirections. Props SergeyBiryukov. Fixes #18086
git-svn-id: https://develop.svn.wordpress.org/trunk@18884 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 11:00:28 +00:00
Dion Hulse 85c8647a55 Use transparent delete icon. Props Caspie. Fixes #17991
git-svn-id: https://develop.svn.wordpress.org/trunk@18883 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:14:41 +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
Daryl Koopersmith ea4615f2ed Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18881 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 06:39:30 +00:00
Andrew Ozz 48be8d03eb Don't trigger "deprecated" warnings before WP_Screen is finalized, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@18880 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 23:10:02 +00:00
Andrew Ozz fec0286bb3 Make $current_screen->add_option() easier to use, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18879 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 17:21:59 +00:00
Ryan Boren c8cbea1d66 Syncronize some strings. Props dcowgill, SergeyBiryukov. fixes #17770
git-svn-id: https://develop.svn.wordpress.org/trunk@18878 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:09:24 +00:00
Ryan Boren aeac3dc5f1 phpdoc fix for zeroise(). Props trepmal. fixes #18854
git-svn-id: https://develop.svn.wordpress.org/trunk@18877 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:02:33 +00:00
Ryan Boren ed0c374876 Avoid notice when performing bulk actions with now rows selected. Props SergeyBiryukov. fixes #18774
git-svn-id: https://develop.svn.wordpress.org/trunk@18876 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:00:36 +00:00
Andrew Ozz 188a2b973f Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
git-svn-id: https://develop.svn.wordpress.org/trunk@18875 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 04:14:36 +00:00
Andrew Ozz fee1fe1b36 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: https://develop.svn.wordpress.org/trunk@18874 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 03:32:12 +00:00
Ryan Boren 8fec352eaa Excerpt long blog names when displaying them in the admin bar. fixes #18849
git-svn-id: https://develop.svn.wordpress.org/trunk@18873 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 19:58:33 +00:00
Andrew Ozz ef03889ea5 Combine font-family, remove few unused bits, props ocean90, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18872 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:36:19 +00:00
Ryan Boren ac34546770 Consolidate larg network criteria into wp_is_large_network(). Allow plugins to change this criteria via filter. Props PeteMall. fixes #18464
git-svn-id: https://develop.svn.wordpress.org/trunk@18871 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:30:07 +00:00
Andrew Ozz 68214afb44 Fix typo when setting post_format in Press This.
git-svn-id: https://develop.svn.wordpress.org/trunk@18870 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:22:38 +00:00
Ryan Boren 88a57f003a Implement bulk update for network/themes.php. Props ocean90. fixes #18687
git-svn-id: https://develop.svn.wordpress.org/trunk@18869 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 14:35:43 +00:00