Commit Graph

17337 Commits

Author SHA1 Message Date
Andrew Ozz c75c11d59b Fix dashboard postboxes in RTL, fixes #18907
git-svn-id: https://develop.svn.wordpress.org/trunk@18948 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 00:01:39 +00:00
Daryl Koopersmith 596a9ad2d8 Improve padding on admin menu submenus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18947 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:52:40 +00:00
Daryl Koopersmith 3f33c99e90 Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18946 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:48:20 +00:00
Andrew Nacin beb1613be7 Restore $screen argument for contextual_help* filters. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18945 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:45:28 +00:00
Daryl Koopersmith d6686cf589 Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18944 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:38:12 +00:00
Andrew Nacin 3940109c7f Store screen help and options as static data against WP_Screen. Individual screen objects no longer hold data it can't re-generate on construction or otherwise fetch. convert_to_screen() now returns a WP_Screen object. Various globals are gone. Introduces WP_Screen::get_option(). Allows for a formal factory to be introduced later. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18943 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:32:16 +00:00
Daryl Koopersmith 50b17d4b68 Create admin menu arrows using CSS3 transforms. props chexee. see #18382, fixes #18902.
git-svn-id: https://develop.svn.wordpress.org/trunk@18942 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:25:38 +00:00
Andrew Nacin 8f0389b3e9 Enforce IDs for add_help_tab(). props mbijon. Restore default_contextual_help, for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18941 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 19:29:09 +00:00
Andrew Ozz 844d8607d8 Don't move current open submenus, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18940 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 17:59:51 +00:00
Andrew Ozz b297c030b7 More CSS cleanup, props olleicua, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18939 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 06:25:25 +00:00
Ryan Boren db7795de32 Do the beta bump
git-svn-id: https://develop.svn.wordpress.org/trunk@18938 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:50:20 +00:00
Andrew Nacin 1db90d21e0 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18937 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:31:36 +00:00
Ryan Boren 974795183b Avoid warning when creating new users. fixes #18898
git-svn-id: https://develop.svn.wordpress.org/trunk@18936 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:14:38 +00:00
Andrew Ozz c3c949df19 Remove unneeded cursor style, props trepmal, see #15848
git-svn-id: https://develop.svn.wordpress.org/trunk@18935 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:10:47 +00:00
Andrew Ozz 460da3b20d Prevent a Chrome bug activating :hover on the first pixel on the screen while loading, props markjaquith, fixes #18868
git-svn-id: https://develop.svn.wordpress.org/trunk@18934 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 22:36:36 +00:00
Joseph Scott 25455363e9 Follow the pattern of wp-admin a bit more for metaWeblog.newPost by using get_default_post_to_edit() to generate a post ID before the post is actually published.
Fixes #18812
Props koke, nacin


git-svn-id: https://develop.svn.wordpress.org/trunk@18933 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 21:27:05 +00:00
Ryan Boren 448700b2e7 Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. see #17548
git-svn-id: https://develop.svn.wordpress.org/trunk@18932 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 20:52:44 +00:00
Andrew Nacin b827c657fb Check post_type_supports before adding comments column to attachments. Translate a string. props johnbillion, SergeyBiryukov. fixes #18644.
git-svn-id: https://develop.svn.wordpress.org/trunk@18931 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:56:35 +00:00
Andrew Nacin f9bba8610d Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980.
git-svn-id: https://develop.svn.wordpress.org/trunk@18930 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:54:26 +00:00
Daryl Koopersmith a8dde60aa6 Add full admin menu to admin bar on front end. props azaozz. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18929 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:53:12 +00:00
Andrew Nacin 32874f18cf Remove caching from get_blogs_of_user(). Leave caching to usermeta and blog details. Speed up the loops. fixes #15458.
git-svn-id: https://develop.svn.wordpress.org/trunk@18928 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:50:08 +00:00
Daryl Koopersmith 9bf6d8e25f Improve admin bar item order for W menu, add new menu, and edit content item. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18927 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 18:40:00 +00:00
Andrew Ozz 619caa5c73 Make iPad support usable again, add viewport meta, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18926 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 04:19:05 +00:00
Andrew Ozz d51b26378c Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
git-svn-id: https://develop.svn.wordpress.org/trunk@18925 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 17:30:51 +00:00
Andrew Ozz 692d11e622 Fix postbox containers when there are no visible postboxes in them, fixes #18882
git-svn-id: https://develop.svn.wordpress.org/trunk@18924 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 00:05:38 +00:00
Andrew Ozz 34e570a8ab Add link to the codex in the doing_it_wrong notices, see #18453
git-svn-id: https://develop.svn.wordpress.org/trunk@18923 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 22:48:05 +00:00
Andrew Ozz cfcb553dfb Add translation comment, props ocean90, fixes #18881
git-svn-id: https://develop.svn.wordpress.org/trunk@18922 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 03:14:41 +00:00
Andrew Ozz 184f2a7d96 Actually the Press This styles changed in [18920] are not needed, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18921 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:24:29 +00:00
Andrew Ozz 2b2bff2fca Fix insetring images in Quick Press and Press This, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18920 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:14:21 +00:00
Daryl Koopersmith e33486dbb6 Clean up the 'Site Name' admin bar functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@18919 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:52:26 +00:00
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