Commit Graph

20560 Commits

Author SHA1 Message Date
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
bumpbot 7f2fa09f5c Compress scripts/styles: 3.5-beta2-22252. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@22252 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 22:58:39 +00:00
Andrew Ozz c0ca932fe1 Editor: fix setting wpActiveEditor when TinyMCE is not used, see #21718
git-svn-id: https://develop.svn.wordpress.org/trunk@22251 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 22:01:30 +00:00
Andrew Ozz 2f8193421c Tab indexes: when tabbing out of the editors make sure the next focused element is the expected/default action, fix focusing the next field when picking a date for future post, props lessbloat, fixes #21340
git-svn-id: https://develop.svn.wordpress.org/trunk@22250 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 21:38:35 +00:00
Andrew Ozz 7c30ff0dcb Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471
git-svn-id: https://develop.svn.wordpress.org/trunk@22249 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 21:26:59 +00:00
Ryan Boren 1d02d4bf27 Return WP_User objects when querying 'all' fields with WP_User_Query.
Allow passing stdClass or WP_User to the WP_User constructor.

fixes #22057


git-svn-id: https://develop.svn.wordpress.org/trunk@22248 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 20:05:40 +00:00
Daryl Koopersmith 9e8cd23bdb Add attachment display settings to the media modal.
* Add a media view for button groups.
* Add button dropdown containers.
* Add a dropdown property to the button media model.

fixes #22206, #21814, see #21390, #21813, #21598.


git-svn-id: https://develop.svn.wordpress.org/trunk@22247 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 19:25:17 +00:00
Andrew Ozz c593ca433a TinyMCE: fix showing popup buttons on images in WebKit, fixes #22188
git-svn-id: https://develop.svn.wordpress.org/trunk@22246 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-16 18:16:29 +00:00