Call func_get_args() once in add_query_arg(). Props SergeyBiryukov. see #21332

git-svn-id: http://core.svn.wordpress.org/trunk@21373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Better phpdoc for user_nicename. Props SergeyBiryukov. fixes #21427

git-svn-id: http://core.svn.wordpress.org/trunk@21374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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: http://core.svn.wordpress.org/trunk@21375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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: http://core.svn.wordpress.org/trunk@21376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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: http://core.svn.wordpress.org/trunk@21377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use Yoda conditions. Props evansolomon. see #21270

git-svn-id: http://core.svn.wordpress.org/trunk@21378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Make the browser property in wp.Uploader optional. fixes #21437.


git-svn-id: http://core.svn.wordpress.org/trunk@21379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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: http://core.svn.wordpress.org/trunk@21380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pinking shears.


git-svn-id: http://core.svn.wordpress.org/trunk@21381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-alpha-21382.

git-svn-id: http://core.svn.wordpress.org/trunk@21382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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: http://core.svn.wordpress.org/trunk@21383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Compress scripts/styles: 3.5-alpha-21384.

git-svn-id: http://core.svn.wordpress.org/trunk@21384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add @since documentation, see #21355.

git-svn-id: http://core.svn.wordpress.org/trunk@21385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix @since blocks... since we already released 3.4.1. see #21355.

git-svn-id: http://core.svn.wordpress.org/trunk@21386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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: http://core.svn.wordpress.org/trunk@21387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: update comment header in html5 JS file.

Related to #20640.


git-svn-id: http://core.svn.wordpress.org/trunk@21388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376.

RTL version and tweaks to come after more testing.


git-svn-id: http://core.svn.wordpress.org/trunk@21389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: update html5 shiv to 3.6 stable version. Props ocean90, fixes #20640.


git-svn-id: http://core.svn.wordpress.org/trunk@21390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399, props obenland.


git-svn-id: http://core.svn.wordpress.org/trunk@21391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Twelve: add print styles to stylesheet, first pass props obenland. See #21377.


git-svn-id: http://core.svn.wordpress.org/trunk@21392 1a063a9b-81f0-0310-95a4-ce76da25c4cd