Commit Graph

19691 Commits

Author SHA1 Message Date
bumpbot 396adf6737 Compress scripts/styles: 3.5-alpha-21400.
git-svn-id: https://develop.svn.wordpress.org/trunk@21400 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 22:58:25 +00:00
Andrew Ozz 4d5223c069 Retina: add image editor 2x icons, props empireoflight, see #21019
git-svn-id: https://develop.svn.wordpress.org/trunk@21399 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 22:50:52 +00:00
Lance Willett 5ebd31d51e Twenty Twelve: Homepage page template logic cleanup and style updates, props obenland. Fixes #21245.
git-svn-id: https://develop.svn.wordpress.org/trunk@21398 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 18:52:20 +00:00
Lance Willett 51b5a97524 Twenty Twelve: update styles for tag/category descriptions on archive pages, props drewstrojny. Closes #21255.
git-svn-id: https://develop.svn.wordpress.org/trunk@21397 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:38:00 +00:00
Lance Willett 6bff901746 Twenty Twelve: change featured post banner and comment author callout to look less like buttons. Props chriswallace and drewstrojny, fixes #21384.
git-svn-id: https://develop.svn.wordpress.org/trunk@21396 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:34:31 +00:00
Andrew Nacin 936b693f9f Revert parameter changes in [21394] as these are unnecessary.
Our plugin API always passes the requested number arguments to a callback,
even if previous callbacks asked for less arguments than later callbacks.

see #21264.



git-svn-id: https://develop.svn.wordpress.org/trunk@21395 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:03:29 +00:00
Lance Willett 2a7834f801 Twenty Twelve: better comment block for twentytwelve_wp_title() and set passed arguments to empty strings for compatibility with plugins or child themes that might override wp_title() before this filter runs.
See #21264.


git-svn-id: https://develop.svn.wordpress.org/trunk@21394 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 16:45:12 +00:00
Lance Willett f51441f9a1 Twenty Twelve: add CSS rule for threaded comments. Fixes #21405.
git-svn-id: https://develop.svn.wordpress.org/trunk@21393 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 16:08:47 +00:00
Lance Willett 2e091941cd Twenty Twelve: add print styles to stylesheet, first pass props obenland. See #21377.
git-svn-id: https://develop.svn.wordpress.org/trunk@21392 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:47:02 +00:00
Lance Willett d699dd2ae7 Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21391 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:36:44 +00:00
Lance Willett 5931640943 Twenty Eleven: update html5 shiv to 3.6 stable version. Props ocean90, fixes #20640.
git-svn-id: https://develop.svn.wordpress.org/trunk@21390 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:31:36 +00:00
Lance Willett ca414c64b5 Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376.
RTL version and tweaks to come after more testing.


git-svn-id: https://develop.svn.wordpress.org/trunk@21389 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:28:50 +00:00
Lance Willett c7f7d937b3 Twenty Twelve: update comment header in html5 JS file.
Related to #20640.


git-svn-id: https://develop.svn.wordpress.org/trunk@21388 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:06:24 +00:00
Peter Westwood 61abf077d0 Multisite: Rework the upload space usage tracking code so as to be fully pluggable.
* Moves some admin only functions into wp-admin/includes/ms.php from wp-includes/ms-functions.php
 * Reworked the variable naming to be more in line with the Coding Standards
 * Introduced a new get_space_used() function instead of calculating it in multiple places.

Fixes #21181 props dllh and jkudish for inital work on this.


git-svn-id: https://develop.svn.wordpress.org/trunk@21387 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 13:52:06 +00:00
Daryl Koopersmith 339f4deff6 Fix @since blocks... since we already released 3.4.1. see #21355.
git-svn-id: https://develop.svn.wordpress.org/trunk@21386 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 07:20:44 +00:00
Daryl Koopersmith 0c84f28fb4 Add @since documentation, see #21355.
git-svn-id: https://develop.svn.wordpress.org/trunk@21385 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 07:01:08 +00:00
bumpbot 1eebacb690 Compress scripts/styles: 3.5-alpha-21384.
git-svn-id: https://develop.svn.wordpress.org/trunk@21384 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 06:58:20 +00:00
Daryl Koopersmith bf458c2c1a Remove the ability to upload custom headers in the customizer. Properly handle selecting the correct first tab, and removing the control/section if no tabs exist. see #21355.
To check if the control has any potential tabs and headers, added:
* WP_Customize_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->default_headers
* WP_Customize_Header_Image_Control->uploaded_headers



git-svn-id: https://develop.svn.wordpress.org/trunk@21383 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 06:45:54 +00:00
bumpbot 1f6ab35e33 Compress scripts/styles: 3.5-alpha-21382.
git-svn-id: https://develop.svn.wordpress.org/trunk@21382 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 02:58:20 +00:00
Daryl Koopersmith 2439e4d722 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@21381 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 02:30:02 +00:00
Daryl Koopersmith a1513dd683 When the browser property is not provided to wp.Uploader, hide Plupload's auto-created file input and call Plupload's disableBrowse. see #21437, [21379].
git-svn-id: https://develop.svn.wordpress.org/trunk@21380 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 02:27:18 +00:00
Daryl Koopersmith 75f9258969 Make the browser property in wp.Uploader optional. fixes #21437.
git-svn-id: https://develop.svn.wordpress.org/trunk@21379 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 01:10:13 +00:00
Ryan Boren 43d668a041 Use Yoda conditions. Props evansolomon. see #21270
git-svn-id: https://develop.svn.wordpress.org/trunk@21378 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-31 21:11:17 +00:00
Andrew Nacin d69dda48ec Use get_userdata() rather than new WP_User in is_super_admin(), to take advantage of the performance improvements in [21376]. see #21120.
git-svn-id: https://develop.svn.wordpress.org/trunk@21377 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-31 17:47:08 +00:00
Andrew Nacin 2c058d3b3a Optimize get_user_by( 'id', $id ) to return wp_get_current_user() when the current user ID is requested.
Provides for a major performance improvement by preventing repeated instantiations of WP_User in the capabilities API.

see #21120.



git-svn-id: https://develop.svn.wordpress.org/trunk@21376 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-31 17:45:38 +00:00
Andrew Nacin cd7e3f097d Don't call get_userdata() every time for the current user in map_meta_cap()'s read_post, edit_post, and delete_post branches. see #21120.
git-svn-id: https://develop.svn.wordpress.org/trunk@21375 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-31 17:39:14 +00:00
Ryan Boren 4bdd2ed253 Better phpdoc for user_nicename. Props SergeyBiryukov. fixes #21427
git-svn-id: https://develop.svn.wordpress.org/trunk@21374 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-31 15:50:29 +00:00
Ryan Boren 872ba2c28f Call func_get_args() once in add_query_arg(). Props SergeyBiryukov. see #21332
git-svn-id: https://develop.svn.wordpress.org/trunk@21373 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-31 15:28:10 +00:00
Lance Willett 08220cceb8 Twenty Twelve: improve definition term layout a bit, use line-height instead of bottom margin. Fixes #21259.
git-svn-id: https://develop.svn.wordpress.org/trunk@21372 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 20:06:26 +00:00
Lance Willett fcab500058 Twenty Twelve: fix typo for comment-content container showing incorrect class value, props obenland. Closes #21242.
git-svn-id: https://develop.svn.wordpress.org/trunk@21371 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:56:35 +00:00
Lance Willett cc3294031d Twenty Twelve: squeeze 1.47% more size savings by compressing screenshot again.
git-svn-id: https://develop.svn.wordpress.org/trunk@21370 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:51:43 +00:00
Lance Willett b290cc388a Twenty Twelve: fix typo, s/#entry-meta/.entry-meta/ props zeo. Closes #21418.
git-svn-id: https://develop.svn.wordpress.org/trunk@21369 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:48:43 +00:00
Lance Willett 691f2dfeac Twenty Eleven: fix typo, s/#entry-meta/.entry-meta/ props zeo. See #21418.
git-svn-id: https://develop.svn.wordpress.org/trunk@21368 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:45:58 +00:00
Andrew Ozz da057a8eb0 TinyMCE: better exclusion of Opera mobile, fixes #21416
git-svn-id: https://develop.svn.wordpress.org/trunk@21367 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:40:52 +00:00
Andrew Nacin 48d6a65250 Improve code readability and execution in admin-footer by removing a now-unnecessary implode(). props TobiasBg, fixes #21422.
git-svn-id: https://develop.svn.wordpress.org/trunk@21366 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:37:51 +00:00
Ryan Boren 2ddc4706aa Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406
git-svn-id: https://develop.svn.wordpress.org/trunk@21365 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 18:41:42 +00:00
Ryan Boren d2774833b2 Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307
git-svn-id: https://develop.svn.wordpress.org/trunk@21364 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 18:30:03 +00:00
Ryan Boren c1051b1088 Take the mmm out of comment_ID. Just mm is sufficient.
Props wonderboymusic
fixes #21400


git-svn-id: https://develop.svn.wordpress.org/trunk@21363 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 16:16:13 +00:00
Ryan Boren 63abb35721 s/newuserconfimation/newuserconfirmation/
Props Jayjdk, lesteph
fixes #21415


git-svn-id: https://develop.svn.wordpress.org/trunk@21362 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 16:13:18 +00:00
Andrew Ozz 910d232ac0 TinyMCE: don't load in Opera Mobile as it doesn't support contentEditable yet, fixes #21416
git-svn-id: https://develop.svn.wordpress.org/trunk@21361 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 00:14:43 +00:00
bumpbot 37431ce817 Compress scripts/styles: 3.5-alpha-21360. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21360 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-29 22:58:19 +00:00
Andrew Ozz 23e2a1813c TinyMCE shortcuts: revert to Alt + Shift + letter for WebKit and Ctrl + Alt + letter (Command + Option + letter) in Firefox, see #21197
git-svn-id: https://develop.svn.wordpress.org/trunk@21359 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-29 21:08:58 +00:00
Andrew Ozz 5ed30e85b9 Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347
git-svn-id: https://develop.svn.wordpress.org/trunk@21358 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 16:49:48 +00:00
Ryan Boren 9b9ce59786 Refactor *_blog_option() functions to use switch_to_blog(), restore_current_blog(), and the *_option() functions. Do not use site-options for blog option caching as this duplicated info and did not properly invalidate.
Props jeremyfelt
fixes #21270


git-svn-id: https://develop.svn.wordpress.org/trunk@21357 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 14:57:32 +00:00
Andrew Ozz 78f00b2ace Widgets: add localization context for 'Add' and 'Edit', props nacin, fixes #21338
git-svn-id: https://develop.svn.wordpress.org/trunk@21356 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 03:56:27 +00:00
Andrew Ozz e0c0df2587 Widgets: Add the name of the widget to the Add and Edit buttons on the Accessible Widget Management Screen, props cannona, fixes #21338
git-svn-id: https://develop.svn.wordpress.org/trunk@21355 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-27 03:33:38 +00:00
Ryan Boren 0b39b920c1 phpdoc for Customizer classes and methods. Props bananastalktome. see #21303
git-svn-id: https://develop.svn.wordpress.org/trunk@21354 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-26 21:45:33 +00:00
Ryan Boren 26b9de056c Deprecate and stub _media_button. fixes #21317
git-svn-id: https://develop.svn.wordpress.org/trunk@21353 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-26 21:33:01 +00:00
Ryan Boren aefca97f8f Deprecate and stub _insert_into_post_button(). fixes #20427
git-svn-id: https://develop.svn.wordpress.org/trunk@21352 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-26 21:30:06 +00:00
Ryan Boren 46dd14c4e1 Introduce wp_oembed_remove_provider(). Props r-a-y. fixes #16327
git-svn-id: https://develop.svn.wordpress.org/trunk@21351 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-26 20:18:27 +00:00