Commit Graph

16941 Commits

Author SHA1 Message Date
Andrew Nacin
d021bbd1d4 Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18700 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 22:26:01 +00:00
Andrew Nacin
68c1b54796 is_main_query(). fixes #18677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18699 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 20:46:35 +00:00
Jon Cave
73744eb96c Don't obliterate $title if $desc isn't set. Props kawauso. Fixes #18185.
git-svn-id: https://develop.svn.wordpress.org/trunk@18698 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 18:27:32 +00:00
Dion Hulse
1bc9770151 Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
git-svn-id: https://develop.svn.wordpress.org/trunk@18697 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 09:14:27 +00:00
Daryl Koopersmith
6244ba8f6e Improve comments item in admin bar. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18696 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 01:11:52 +00:00
Daryl Koopersmith
edeae501f1 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18695 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-17 00:41:04 +00:00
Andrew Ozz
2c70f62b72 The rest of add missing var in postbox.js, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18694 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 23:28:40 +00:00
Andrew Ozz
a5b0615476 Add missing var in postbox.js, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18693 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 23:26:42 +00:00
Jon Cave
8a96846c8d Fix undefined index "subdomain_install" in wp-admin/network.php. Props cyberhobo, SergeyBiryukov. Fixes #17697.
git-svn-id: https://develop.svn.wordpress.org/trunk@18692 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 21:20:43 +00:00
Jon Cave
d98a9d0b0c Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: https://develop.svn.wordpress.org/trunk@18691 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 20:41:47 +00:00
Peter Westwood
1688cde0e2 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: https://develop.svn.wordpress.org/trunk@18690 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 11:12:37 +00:00
Peter Westwood
af72ac6ff5 Get out quick if we have been passed the ID of the 'logged out' user.
git-svn-id: https://develop.svn.wordpress.org/trunk@18689 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:57:31 +00:00
Peter Westwood
44821916ca We don't need to do this if the user isn't logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@18688 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:56:06 +00:00
Peter Westwood
cc5c326c37 Don't try showing these links to non-logged in users either.
git-svn-id: https://develop.svn.wordpress.org/trunk@18687 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:50:55 +00:00
Peter Westwood
30121b77d9 Don't show this menu for users who are not logged in.
git-svn-id: https://develop.svn.wordpress.org/trunk@18686 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 10:46:12 +00:00
Daryl Koopersmith
50f062f711 Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18685 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 07:18:05 +00:00
Daryl Koopersmith
dca85a7db7 Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@18684 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 07:10:04 +00:00
Daryl Koopersmith
e1038932b9 Admin bar UX improvements. First pass, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Jon Cave
461af47e10 Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274.
git-svn-id: https://develop.svn.wordpress.org/trunk@18682 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 20:28:06 +00:00
Jon Cave
6d75218f6a Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389.
git-svn-id: https://develop.svn.wordpress.org/trunk@18681 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 20:23:00 +00:00
Andrew Nacin
b4b2a1847b Remove support for <link rel=start>, end, up, and index. These rel="" values have been dropped by the HTML Working Group. props Elpie, kawauso, fixes #18128.
git-svn-id: https://develop.svn.wordpress.org/trunk@18680 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 16:54:59 +00:00
Peter Westwood
a8f99a3d72 Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
git-svn-id: https://develop.svn.wordpress.org/trunk@18679 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:43:22 +00:00
Peter Westwood
321e31c58b A little bit of whitespace keeps the code readable.
git-svn-id: https://develop.svn.wordpress.org/trunk@18678 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:09:45 +00:00
Peter Westwood
3aac6e630b Set a consistent cache key when using the_widget to display the Recent Posts and Recent Comments widgets so that they get cached. See #16761.
git-svn-id: https://develop.svn.wordpress.org/trunk@18677 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:08:43 +00:00
Peter Westwood
2d6257665d Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
git-svn-id: https://develop.svn.wordpress.org/trunk@18676 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:41:17 +00:00
Peter Westwood
234c53c0c1 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18675 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:26:07 +00:00
Andrew Ozz
d20435eb03 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Andrew Ozz
aea659a859 Responsive themes screen, props helenyhou, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18673 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 04:26:26 +00:00
Andrew Ozz
8cdb767ee5 Put back float: left for postbox containers, fixes #18665
git-svn-id: https://develop.svn.wordpress.org/trunk@18672 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 02:55:31 +00:00
Andrew Ozz
46ace1acb8 Remove max-width for .widefat, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18671 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 00:50:35 +00:00
Andrew Ozz
22f08b499f Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18670 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 21:08:44 +00:00
Andrew Ozz
a638573362 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: https://develop.svn.wordpress.org/trunk@18669 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 21:03:13 +00:00
Andrew Ozz
9e23297d6a Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: https://develop.svn.wordpress.org/trunk@18668 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 20:23:33 +00:00
Andrew Ozz
13c777eb39 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18667 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 07:02:46 +00:00
Andrew Ozz
59f69e6ea3 Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
git-svn-id: https://develop.svn.wordpress.org/trunk@18666 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 20:03:28 +00:00
Andrew Nacin
486670f072 Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331.
git-svn-id: https://develop.svn.wordpress.org/trunk@18665 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 16:17:14 +00:00
Andrew Ozz
bcb073c403 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: https://develop.svn.wordpress.org/trunk@18664 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 02:52:02 +00:00
Andrew Nacin
226635ed73 Loosen validation regex to use sanitize_key() in a few AJAX locations for things like pages, orders, columns. Change return value to 0 for failure, as -1 is reserved for authentication/intention. props ocean90, azaozz, fixes #18637.
git-svn-id: https://develop.svn.wordpress.org/trunk@18663 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-12 21:48:44 +00:00
Andrew Nacin
598184f98c Allow get_blog_option(null,...) to hit the cache for the current blog. New return values for add_blog_option, update_blog_option, delete_blog_option. Don't set the cache in those functions if add/update/delete_option failed. see #17883.
git-svn-id: https://develop.svn.wordpress.org/trunk@18662 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-11 18:53:09 +00:00
Andrew Nacin
fb58d06f1c Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: https://develop.svn.wordpress.org/trunk@18661 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-11 17:52:46 +00:00
Andrew Ozz
5c2de1a6fc TinyMCE 3.4.5, fixes #18107
git-svn-id: https://develop.svn.wordpress.org/trunk@18660 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 20:08:40 +00:00
Ryan Boren
332d6d1351 Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
git-svn-id: https://develop.svn.wordpress.org/trunk@18659 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 19:59:44 +00:00
Andrew Nacin
d893b9568c Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.
git-svn-id: https://develop.svn.wordpress.org/trunk@18658 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 17:53:41 +00:00
Andrew Nacin
4d2f247e41 Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624.
git-svn-id: https://develop.svn.wordpress.org/trunk@18657 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 17:49:30 +00:00
Andrew Ozz
647031a087 Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18656 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 20:59:41 +00:00
Andrew Ozz
7b2c49d219 Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18655 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 20:07:15 +00:00
Andrew Ozz
808ea899ad Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18654 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 19:25:20 +00:00
Ryan Boren
048c04c07c Update cache.php phpdoc. Props SergeyBiryukov. fixes #18607
git-svn-id: https://develop.svn.wordpress.org/trunk@18653 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 17:19:09 +00:00
Ryan Boren
9651a4b5b0 Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
git-svn-id: https://develop.svn.wordpress.org/trunk@18652 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-08 17:17:17 +00:00
Jon Cave
e65cce15f2 Only add the post format body classes when the post type supports post formats. props ocean90. fixes #18228.
git-svn-id: https://develop.svn.wordpress.org/trunk@18651 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 20:10:42 +00:00