In new add_theme_support() logic, fix logic inversion, define HEADER_IMAGE in a simpler way, and force args to be an array. see #20249.



git-svn-id: http://core.svn.wordpress.org/trunk@20221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Update twentyeleven/functions.php to use the new add_theme_support() calls for backgrounds and headers. props sabreuse for initial patch. see #20265. see #20249.



git-svn-id: http://core.svn.wordpress.org/trunk@20222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove use of HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT from twentyeleven/header.php. see #20265.

git-svn-id: http://core.svn.wordpress.org/trunk@20223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r20223

git-svn-id: http://core.svn.wordpress.org/trunk@20224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249.

git-svn-id: http://core.svn.wordpress.org/trunk@20225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove unused variable. see #20265.

git-svn-id: http://core.svn.wordpress.org/trunk@20226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r20226

git-svn-id: http://core.svn.wordpress.org/trunk@20227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
POT, generated from r20226

git-svn-id: http://core.svn.wordpress.org/trunk@20228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Clean up get_plugin_data() and _get_plugin_data_markup_translate(), and standardize sanitization. fixes #20266.

git-svn-id: http://core.svn.wordpress.org/trunk@20229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove enqueue of wp_plupload_default_settings() from admin_enqueue_scripts(). For now, it needs to be enqueued selectively when needed. see #19910.

git-svn-id: http://core.svn.wordpress.org/trunk@20230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910.



git-svn-id: http://core.svn.wordpress.org/trunk@20231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Improve WP_Customize_Setting->check_capabilities(). Add support for arrays in WP_Customize_Setting->capability and WP_Customize_Setting->theme_supports. Don't bail when WP_Customize_Setting->capability is empty. see #19910.

git-svn-id: http://core.svn.wordpress.org/trunk@20232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sanitize Theme URI and Author URI in WP_Theme with esc_url_raw. Escape with esc_url on display. see #20103.

git-svn-id: http://core.svn.wordpress.org/trunk@20233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Pass post_type through sanitize_key() instead of sanitize_user(). Fixes #20202.

For consistency with the registration API and because it does less work.


git-svn-id: http://core.svn.wordpress.org/trunk@20234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
We use colon as the case separator.


git-svn-id: http://core.svn.wordpress.org/trunk@20235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Visually merge a plugin with its update notice. Same applies to themes in the network admin. Move from 'update automatically' to 'update now'. fixes #20273.



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

git-svn-id: http://core.svn.wordpress.org/trunk@20237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
WP_Theme::get_allowed_on_network() doesn't take a blog_id argument. props duck_. Restore static declaration accidentally removed in [20193]. see #20103.



git-svn-id: http://core.svn.wordpress.org/trunk@20238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove unused $field_no_prefix variable and associated documentation from sanitize_user_field(). Fixes #20274.


git-svn-id: http://core.svn.wordpress.org/trunk@20239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Introduce display_header_text(). props chipbennett for initial patch. see #18887.



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