Andrew Nacin
80a1e11ab0
Confirm that the nav menu's underlying object is in the proper taxonomy before adding the current-menu-item class. props SergeyBiryukov. fixes #21369 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22302 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 20:32:01 +00:00
Andrew Nacin
208e916374
Flush rewrite rules when page_on_front is updated. props SergeyBiryukov. fixes #21274 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22301 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 20:20:24 +00:00
Andrew Nacin
ced3c54124
Comment that the add_users capability was never used and has its days numbered. see #16719 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22300 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 20:18:24 +00:00
Andrew Nacin
c67b1d88a0
Don't show the same time or date format twice on the General Settings page. This can occur if a translated format is the same as an existing default format. fixes #21060 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22299 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 20:15:47 +00:00
Andrew Nacin
7ff116f14a
When stripping off a pathinfo home root (/index.php/) do it with case insensitivity. props SergeyBiryukov. fixes #13164 . see #8847 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22298 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 20:09:54 +00:00
Lance Willett
7dff35e75d
Twenty Twelve: additional rule needed for nav menu style change in r22296, to allow long words to break in submenus. Props SergeyBiryukov, closes #22088 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22297 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 18:42:21 +00:00
Lance Willett
f853d3b345
Twenty Twelve: fix navigation menu behavior when a space and one single character causes newline in navigation anchor element display. Fixes #22088 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22296 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 16:26:33 +00:00
Lance Willett
4be5613bb6
Twenty Twelve: use plain text apostrophe in PHP template file comment text. Props zeo, fixes #22276 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22295 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 16:06:21 +00:00
Lance Willett
f41b914666
Twenty Twelve: fix style for links in gallery captions wrapping to next line, props DrewAPicture. Fixes #22227 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22294 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 16:01:23 +00:00
Ryan Boren
5108ff8b1e
Avoid notices in get_*_template() functions that use get_queried_object(), which can return null. Props wonderboymusic. fixes #20519
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22293 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-25 12:54:50 +00:00
bumpbot
a5d0972890
Compress scripts/styles: 3.5-beta2-22292.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22292 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-24 22:58:36 +00:00
Ryan Boren
308c702183
Use the create_posts capability in more places.
...
In get_post_type_capabilities(), make sure create_posts reflects customizations to the edit_posts capability when create_posts is not specifically set.
git-svn-id: https://develop.svn.wordpress.org/trunk@22291 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-24 22:15:43 +00:00
Ryan Boren
f61f28dfa6
Add min-height to hierarchical taxonomy meta box. Props SergeyBiryukov. fixes #15925
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22290 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-24 14:08:33 +00:00
Andrew Ozz
8564fb5851
Fix the buttons in IE, make them better in IE7, remove the default padding in Firefox, make all .button <a> and <input> look the same, fixes #21598
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22289 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-24 01:33:59 +00:00
Andrew Ozz
108c09fdd3
Buttons: slightly bolder :focus styles, make the "Log In" button '.button-large', props lessbloat, see #21598
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22288 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-24 01:27:56 +00:00
bumpbot
0a05a064cf
Compress scripts/styles: 3.5-beta2-22287.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22287 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 22:58:40 +00:00
Ryan Boren
d6ed09153f
Revert [21420] and [21481]. Accepting a string caused back compat problems including the possibility of revealing previously hidden circular dependencies resulting in infinite loops.
...
fixes #20683 #22111
see #21520
git-svn-id: https://develop.svn.wordpress.org/trunk@22286 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 20:32:12 +00:00
Ryan Boren
079288f0c8
Update autocomplete CSS to make nice with jQuery UI 1.9. Give ui-helper-hidden-accessible the same treatment as screen-reader-text. Props helenyhou. fixes #22166
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22285 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 19:55:35 +00:00
Ryan Boren
db18f7c749
Use HiDPI image for nav menu item disclosure arrow. Props dd32. fixes #22240
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22284 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 19:47:32 +00:00
Andrew Nacin
08dafbce51
Do not issue a Last-Modified header when issuing no-cache headers to avoid aggressive (webkit) caching. Serve a blank header when header_remove() is not available (PHP < 5.3). props andy. fixes #22258 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22283 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 15:45:44 +00:00
Andrew Nacin
819c562041
Remove unnecessary styling of an option element's padding. props SergeyBiryukov. fixes #22020 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22282 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:36:55 +00:00
Andrew Nacin
eea42ad4c0
Remove unused delete style. props SergeyBiryukov. fixes #21196 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22281 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:30:40 +00:00
Andrew Nacin
8bccce8189
Reset box-sizing to toolbar CSS to avoid conflicts with themes. props betzster, fixes #21863 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22280 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:30:03 +00:00
Andrew Nacin
5f716ddfca
Make some space for the Permalink preview to appear on post-new.php. props johnbillion, lessbloat. fixes #22184 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22279 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:28:01 +00:00
Andrew Nacin
ffa6fd2e62
Prime post caches for the Recent Comments widget. props mitchoyoshitaka. see #15400 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22278 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:18:37 +00:00
Ryan Boren
abda77ed10
In wp_xmlrpc_server::_insert_post(), don't return an error if set_post_thumbnail() returns false when the attachment ID doesn't change.
...
Props picklepete
fixes #22204
git-svn-id: https://develop.svn.wordpress.org/trunk@22277 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 14:08:20 +00:00
Ryan Boren
abd1718828
A more generic message for wp_upload_dir(). Props nacin. fixes #21796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22276 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 13:49:00 +00:00
Ryan Boren
323143dedd
Improve the contextual help for the comment bubble in the 'In Response To' column. Props lessbloat. fixes #19788
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22275 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 13:37:18 +00:00
Ryan Boren
307979a247
Avoid notices in _remove_theme_support(). Props alex-ye, SergeyBiryukov. fixes #22246
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22274 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 13:20:40 +00:00
Peter Westwood
d79af224f7
i18n: Fix the usage of sprintf replacements in the user management admin page. See #22260 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22273 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 11:32:41 +00:00
Peter Westwood
e64c828f44
i18n: Fix the usage of sprintf replacements in the Multisite Network Admin new site page. See #22260 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22272 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 11:30:09 +00:00
Peter Westwood
4b3f786b40
i18n: Fix the usage of sprintf replacements in the Multisite admin include files. See #22260 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22271 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 11:28:36 +00:00
Peter Westwood
44682216a8
i18n: Fix the usage of sprintf replacements in the Multisite include files. See #22260 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22270 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-23 11:27:20 +00:00
bumpbot
d69a863ac2
Compress scripts/styles: 3.5-beta2-22269.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22269 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-22 22:58:34 +00:00
Andrew Ozz
1380819bfe
Improve visible focus in the admin, props lessbloat, fixes #21324
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22268 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-22 19:51:51 +00:00
Daryl Koopersmith
b246624b4f
Correctly assign post_parent to attachments uploaded in the new media modal. fixes #22085 , see #21390 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22267 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-22 17:40:06 +00:00
Ryan Boren
be210ffb13
Fix typo in phpdoc. Props SergeyBiryukov. fixes #20429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22266 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-22 12:44:28 +00:00
bumpbot
b270741ecd
Compress scripts/styles: 3.5-beta2-22265.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22265 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-19 22:58:33 +00:00
Ryan Boren
8bc27f2c58
Don't wp_cache_add() stdClass objects in get_post() to avoid polluting the cache with incomplete or otherwise compromised objects.
...
Declare the core properties of WP_Pist as proper public properties and provide them with defaults.
Props wonderboymusic
fixes #22223
git-svn-id: https://develop.svn.wordpress.org/trunk@22264 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-19 21:53:17 +00:00
Andrew Ozz
b697208eef
Adminmenu: fix folded height and shadow inconsistencies, props webord, fixes #21998
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22263 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-19 21:32:34 +00:00
Andrew Ozz
469a3d226b
Make the admin menu and toolbar work well on mobile devices, props georgestephanis, see #20614
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22262 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-19 18:31:21 +00:00
Ryan Boren
5c5f22332a
Enter the semicolon. Props F J Kaiser, SergeyBiryukov. fixes #21393
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22261 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-18 13:06:39 +00:00
Andrew Nacin
6da3f40a96
Remove bogus optional value for get_cat_ID(). (Incorrect usage will result in a warning.) props Latz. fixes #21201 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22260 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-18 01:40:42 +00:00
Ryan Boren
e260aa0e7a
Remove set_time_limit() from sites.php. Props dllh. fixes #19486 see #21521
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22259 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 21:40:31 +00:00
Ryan Boren
361ecbb452
If posts is an empty array, bail from set_found_posts(). If posts is null or otherwise empty proceed through set_found_posts(). This accommodates caching plugins such as Advanced Post Cache that force posts to be empty for later population but still require the found_posts_query filter to run.
...
fixes #14426
git-svn-id: https://develop.svn.wordpress.org/trunk@22258 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 20:57:23 +00:00
Ryan Boren
4cb0404e13
Populate WPLANG site option when setting up a network. Props SergeyBiryukov. fixes #21726
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22257 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 20:29:53 +00:00
Ryan Boren
194e2775b8
Don't create {$blog_id}_user-settings, {$blog_id}_user-settings-time, and {$blog_id}_dashboard_quick_press_last_post_id user options when a super admin visits a site they aren't a member of. Instead, rely solely on the wp-settings cookie.
...
fixes #22178
git-svn-id: https://develop.svn.wordpress.org/trunk@22256 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 18:58:09 +00:00
Ryan Boren
e033812490
Pass each url in ping_sites through esc_url_raw() upin save. This ensures the urls have a valid protocol and avoids "Unable to parse URL" warning in WP_Http. Props SergeyBiryukov. fixes #21966
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22255 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 17:44:40 +00:00
Ryan Boren
44a84d7b06
Correct phpdoc for wpdb::bail(). wp_die() is issued when show_errors is true, not false. Props SergeyBiryukov. fixes #22211
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22254 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 13:11:45 +00:00
Ryan Boren
716617804c
Allow numbers in screen option IDs. Fixes setting posts per page for custom post types containing 0-9. Props SergeyBiryukov. fixes #18323
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22253 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-17 13:09:17 +00:00