Commit Graph

17203 Commits

Author SHA1 Message Date
Dion Hulse
b158ddc175 WP_Filesystem_*::mkdir() untrailingslash path consistently, don't waste time attempting to create an "empty" path. See #15575. Props lordandrei and SergeyBiryukov for initial patches.
git-svn-id: https://develop.svn.wordpress.org/trunk@18964 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 10:43:38 +00:00
Andrew Ozz
45e3751dc9 Update user_can_richedit to allow TinyMCE in iOS5, props markoheijnen, fixes #18626
git-svn-id: https://develop.svn.wordpress.org/trunk@18963 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:37:24 +00:00
Andrew Ozz
941a686bbf Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
git-svn-id: https://develop.svn.wordpress.org/trunk@18962 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:33:10 +00:00
Andrew Ozz
41ee808832 Remove borders from iframes and images in IE, props dd32, andrewryno, fixes #18922
git-svn-id: https://develop.svn.wordpress.org/trunk@18961 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:27:32 +00:00
Andrew Ozz
0156e509db Remove iPad rotation tweak (not needed in iOS 5), see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18960 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 02:47:00 +00:00
Andrew Ozz
415738fee3 Bottom out checkboxes and radio buttons (seems to line them up nicely in most browsers).
git-svn-id: https://develop.svn.wordpress.org/trunk@18959 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:37:39 +00:00
Andrew Ozz
8dd953e39d IE7 fixes for the admin menu, see #18382
git-svn-id: https://develop.svn.wordpress.org/trunk@18958 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:06:07 +00:00
Andrew Ozz
e10d951cce Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Ryan Boren
168e89007c Avoid 'Only variables should be assigned by reference' warning. Props arena. fixes #18867
git-svn-id: https://develop.svn.wordpress.org/trunk@18956 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:41:06 +00:00
Ryan Boren
ec9060cc99 Allow 0 - 9 in tag_escape(). Props sirzooro. fixes #18765
git-svn-id: https://develop.svn.wordpress.org/trunk@18955 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:34:14 +00:00
Ryan Boren
3ed641402e Die when attempting to edit non-existent term. Props johnbillion. fixes #18718
git-svn-id: https://develop.svn.wordpress.org/trunk@18954 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:30:50 +00:00
Ryan Boren
9566269dfc Validation fix for user-edit.php. Props sorich87. fixes #18921
git-svn-id: https://develop.svn.wordpress.org/trunk@18953 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 19:47:00 +00:00
Ryan Boren
14c6df057d Avoid preg backtrack limit errors with large posts when processing shortcodes. Props mdawaffe. fixes #15600
git-svn-id: https://develop.svn.wordpress.org/trunk@18952 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:50:30 +00:00
Jon Cave
83d7fbe1a6 Revert r18887 due to back compat issues. Fixes #18914.
For example 'intval' couldn't be used as a sanitisation callback.


git-svn-id: https://develop.svn.wordpress.org/trunk@18951 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:35:33 +00:00
Andrew Nacin
103666d6b3 Restore object handling in add_contextual_help(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18950 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:24:55 +00:00
Andrew Nacin
bdc8ac11ea Don't instantiate WP_Screen in convert_to_screen() for now. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18949 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:22:50 +00:00
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