Commit Graph

8848 Commits

Author SHA1 Message Date
Andrew Ozz 12dd9663fc Pointers: more airy drop shadow, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18989 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:43:40 +00:00
Andrew Ozz b6b775e4c3 Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18988 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:08:55 +00:00
Andrew Ozz 6bdce8d62f Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693
git-svn-id: https://develop.svn.wordpress.org/trunk@18987 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:03:31 +00:00
Ryan Boren fdbf2de4db Return to snack menu instead of full menu. Experiment over. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18984 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 22:06:31 +00:00
Daryl Koopersmith a9148409f3 Fix the admin menu in the blue theme. props ocean90. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18983 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 21:04:29 +00:00
Andrew Ozz d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Ozz 96571de38e No float for the admin bar gravatar image, props gluten, fixes #18925
git-svn-id: https://develop.svn.wordpress.org/trunk@18981 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:19:12 +00:00
Andrew Nacin 790f153832 Add basic help styles to colors-classic. props ocean90, see #18964.
git-svn-id: https://develop.svn.wordpress.org/trunk@18980 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 19:18:28 +00:00
Andrew Ozz 4bb2ed26d8 Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18976 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:46:58 +00:00
Andrew Ozz 573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Ryan Boren df5f69fabc In wp_trash_post(), rename the trash_post action to wp_trash_post to avoid collision with the wp_transition_post_status() trash_post state transition. Props SergeyBiryukov. fixes #15628
git-svn-id: https://develop.svn.wordpress.org/trunk@18974 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 18:39:31 +00:00
Ryan Boren 8d945cd8a0 Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928
git-svn-id: https://develop.svn.wordpress.org/trunk@18973 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 17:56:48 +00:00
Andrew Nacin 825f219f5d Da bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@18972 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 15:48:05 +00:00
Daryl Koopersmith db82a18377 Tweak pointer styles. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18971 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:58:27 +00:00
Daryl Koopersmith 087201621e Fix incorrect closing tag in pointers JS. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18970 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:36:04 +00:00
Daryl Koopersmith ed7c3fb655 Simplify pointer API with smarter positioning. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:33:46 +00:00
Andrew Ozz a7f2758641 Remove stray comma, fixes #18929
git-svn-id: https://develop.svn.wordpress.org/trunk@18967 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 19:46:13 +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 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 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 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
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
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
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 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
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 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 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 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 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
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
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 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 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 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
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 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
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
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
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
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
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 fefbcce590 Fix border radius for editor split-buttons, props trepmal, fixes #18839
git-svn-id: https://develop.svn.wordpress.org/trunk@18865 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 17:04:09 +00:00
Ryan Boren 3985ff6af3 Don't use wp_parse_args() on non associative array. Props SergeyBiryukov. see #18268
git-svn-id: https://develop.svn.wordpress.org/trunk@18856 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 15:54:52 +00:00
Jon Cave 46f95eb2de Use metadata API in do_all_pings() to delete post meta (cleaner, plays better with cache). Remove redundant query to retrieve meta_id. See #18196.
git-svn-id: https://develop.svn.wordpress.org/trunk@18855 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 08:38:33 +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 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 3a696e6995 Speed up the admin bar drop-downs a bit when using hoverIntent, props johnbillion, fixes #18299
git-svn-id: https://develop.svn.wordpress.org/trunk@18849 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:31:15 +00:00
Andrew Ozz 6840264a43 Fix thickbox (again!), props SergeyBiryukov, fixes #18796
git-svn-id: https://develop.svn.wordpress.org/trunk@18848 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:24:34 +00:00
Ryan Boren c3212d522e Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
git-svn-id: https://develop.svn.wordpress.org/trunk@18846 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 19:06:18 +00:00
Ryan Boren 2678fd4f60 Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
git-svn-id: https://develop.svn.wordpress.org/trunk@18845 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:12:14 +00:00
Ryan Boren 0fb49c10e3 Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798
git-svn-id: https://develop.svn.wordpress.org/trunk@18844 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:07: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
Andrew Nacin 028a3ee8ec Allow 'id' to work in get_bookmarks(). Add link_notes even though such sorting is a bad idea. see #18068 for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@18840 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:03:46 +00:00
Ryan Boren cff31ae5f5 Add name to list of allowed keys. Props MarcusPope. fixes #18638
git-svn-id: https://develop.svn.wordpress.org/trunk@18838 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:43:57 +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
Ryan Boren 83551cc744 Pass the query object to _close_comments_for_old_posts() so that is_singular is checked for the proper query. Props kawauso. fixes #18109
git-svn-id: https://develop.svn.wordpress.org/trunk@18836 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:35:50 +00:00
Jon Cave 4219b8b03f Fix back compat issues with delete_postmeta and deleted_postmeta actions as these should be passed the meta ID. Fixes #18825.
git-svn-id: https://develop.svn.wordpress.org/trunk@18835 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:19:32 +00:00
Ryan Boren 805762af8f Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
git-svn-id: https://develop.svn.wordpress.org/trunk@18834 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:13:13 +00:00
Peter Westwood 2421e0ecc6 Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@18833 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 09:53:35 +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 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
Ryan Boren 4e081d3171 phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560
git-svn-id: https://develop.svn.wordpress.org/trunk@18827 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:57:43 +00:00
Jon Cave 9f6d53a66f Introduce wp_allowed_protocols() for use in wp_kses() and esc_url(). See #18268.
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.


git-svn-id: https://develop.svn.wordpress.org/trunk@18826 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:33:51 +00:00
Jon Cave 55609b863e Automatically set 'compare' => 'IN' in WP_Meta_Query::get_sql() when the meta value is an array. Props ldebrouwer, SergeyBiryukov. Fixes #16829.
git-svn-id: https://develop.svn.wordpress.org/trunk@18825 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:10:56 +00:00
Mark Jaquith 76251c5287 Allow the text parameter in wp_trim_excerpt() to be omitted altogether, instead of requiring a blank string. props SergeyBiryukov. fixes #17492
git-svn-id: https://develop.svn.wordpress.org/trunk@18824 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:48:03 +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 25df5fe335 Disallow indexing wp-admin and wp-includes in robots.txt. Props SergeyBiryukov. fixes #18465
git-svn-id: https://develop.svn.wordpress.org/trunk@18822 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:04 +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 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 32ba775ad7 Pass unslashed values from update_metadata() to add_metadata(). fixes #17343.
git-svn-id: https://develop.svn.wordpress.org/trunk@18816 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:37:58 +00:00
Andrew Nacin d9b37f77c8 Make the sort-by-object-property functions generic. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@18815 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 17:20:34 +00:00
Ryan Boren 9ad9ff1282 Use _wp_tag_cloud_count_sort_cb instead of an anonymous function. Props ocean90. see #14424
git-svn-id: https://develop.svn.wordpress.org/trunk@18814 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 17:09:04 +00:00
Andrew Ozz 03375fa844 Recursively convert html entities in script localization strings, see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18813 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 06:43:46 +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 2c6d998b91 Revert [18804] until we have a proper solution. see #11520.
git-svn-id: https://develop.svn.wordpress.org/trunk@18810 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:50:44 +00:00
Andrew Nacin cd0ad3ead4 Revert [18783], as it breaks term relationship counts for attachment taxonomies. see #17548.
git-svn-id: https://develop.svn.wordpress.org/trunk@18809 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 05:29:20 +00:00
Mark Jaquith 2aa3f3c353 Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597
git-svn-id: https://develop.svn.wordpress.org/trunk@18807 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:23:26 +00:00
Dion Hulse 6069fe3c61 Document the Magic numbering in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: https://develop.svn.wordpress.org/trunk@18806 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:10:35 +00:00
Dion Hulse 36f2e9a22f Pass $args and $url to the http_api_debug action to improve debugging. Props johnbillion. Fixes #18732
git-svn-id: https://develop.svn.wordpress.org/trunk@18805 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 01:42:09 +00:00
Andrew Ozz 440ea79d5e Convert html entities in script localization strings, see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18804 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 00:34:24 +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
Andrew Nacin ad6e08124f Correct the src for jquery-ui-datepicker. props danielbachhuber, fixes #18793. see #17952.
git-svn-id: https://develop.svn.wordpress.org/trunk@18795 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 19:50:15 +00:00
Andrew Nacin 8439f8cd5c Ensure we have a full blog object in get_active_blog_for_user(). fixes #18789.
git-svn-id: https://develop.svn.wordpress.org/trunk@18791 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 07:36:36 +00:00
Andrew Nacin e0889f848c Fix docs for get_meta_sql(). First arg cannot be optional. props duck_, fixes #18717.
git-svn-id: https://develop.svn.wordpress.org/trunk@18789 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 05:13:07 +00:00
Andrew Nacin 319264bd0d Cleanup in wp_admin_bar_new_content_menu. current() instead of array_shift(), remove unused index 1 from the arrays, remove ?post_type=post from the Post link. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18788 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 04:04:10 +00:00
Daryl Koopersmith 5abb139f0d Add secondary section to 'Add New' admin bar menu. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18787 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:53:43 +00:00
Daryl Koopersmith a00a36ad5a Prevent multiple-word admin bar items from overflowing in Firefox. props chrisbliss18, helenyhou. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18786 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 03:16:05 +00:00
Andrew Nacin 425560c739 Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393.
git-svn-id: https://develop.svn.wordpress.org/trunk@18785 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 02:38:31 +00:00
Ryan Boren f63662aa82 Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. fixes #17548
git-svn-id: https://develop.svn.wordpress.org/trunk@18783 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 22:24:46 +00:00
Daryl Koopersmith 0b3d90ee53 Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Andrew Ozz 3009977ccd Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18778 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 19:23:43 +00:00
Peter Westwood f8f9a7c6d7 Only show 'About this version' menu item to logged in users.
git-svn-id: https://develop.svn.wordpress.org/trunk@18777 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 08:40:31 +00:00
Daryl Koopersmith a7767fbcec Second pass, admin bar overhaul. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18776 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 23:30:40 +00:00
Andrew Ozz 8c8d048749 Fix the workaround for UI Draggable to include single instance widgets (do they still exist?), see #17952
git-svn-id: https://develop.svn.wordpress.org/trunk@18774 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 18:53:34 +00:00
Andrew Ozz 10d60279b9 Add border radius to .postbox .hndle, props Jick, fixes #18657
git-svn-id: https://develop.svn.wordpress.org/trunk@18773 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-25 17:17:51 +00:00
Jon Cave 57768a1a80 Remove .js .item-order style made redundant by r18755. See #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18770 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:57:52 +00:00
Andrew Nacin 492a5d031c Update esc_url() phpdoc. props sirzooro, fixes #18766.
git-svn-id: https://develop.svn.wordpress.org/trunk@18769 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:52:26 +00:00
Jon Cave 45c26903bf Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545.
git-svn-id: https://develop.svn.wordpress.org/trunk@18768 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:37:34 +00:00
Andrew Nacin 0f4a1e5e3c delete_post_thumbnail(). props CoenJacobs, duck_. fixes #17895.
git-svn-id: https://develop.svn.wordpress.org/trunk@18767 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:31:38 +00:00
Andrew Ozz be87523fed Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18766 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:43:19 +00:00
Andrew Nacin 8a1c8168b8 Provide styling to HTML5 text-like inputs (email, number, search, tel, url). see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@18762 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 21:12:43 +00:00
Daryl Koopersmith 62559dd0b0 Use admin menu API when responsively collapsing the menu. CSS fixes. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18761 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:22:52 +00:00
Daryl Koopersmith 1ad904fb1a Correct text widget background color. It was really messing with our feng shui.
git-svn-id: https://develop.svn.wordpress.org/trunk@18760 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 20:05:13 +00:00
Andrew Nacin d76e4bea9e Combine some CSS definitions. props DH-Shredder, see #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18759 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 18:52:51 +00:00
Andrew Ozz e42c40167f Update jQuery to 1.6.4, update jQuery UI to 1.8.16, add the rest of UI, add workaround for a regression in UI Draggable, see #17952
git-svn-id: https://develop.svn.wordpress.org/trunk@18757 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-23 05:03:31 +00:00
Daryl Koopersmith 60c59fb4a7 Hide nav menu item order arrows when JS is available and correct expanded nav menu item CSS bug.
git-svn-id: https://develop.svn.wordpress.org/trunk@18755 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 22:33:27 +00:00
Daryl Koopersmith 1db2584cd2 Remove expanded class from flyout menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18754 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 20:24:12 +00:00
Jon Cave b60222700e Documentation fixes. See #18560.
- Add missing parameters
 - Add missing @param data types
 - s/format_where/where_format/


git-svn-id: https://develop.svn.wordpress.org/trunk@18753 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 12:02:31 +00:00
Peter Westwood 80cc1062af Revert [18747] until we can discuss it further. See #18453.
git-svn-id: https://develop.svn.wordpress.org/trunk@18752 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 09:15:45 +00:00
Peter Westwood cdf5d84b73 Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
git-svn-id: https://develop.svn.wordpress.org/trunk@18751 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 08:29:35 +00:00