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
Use display_header_text() in custom-header.php. Rework the UI to be a 'Show header text' checkbox (rather than radio buttons). Remove lame 'blank' hack for no-JS -- checkboxes work without JS. Move 'Select a Color' to a link like it is for custom background. Nearby code cleanup. see #18887.



git-svn-id: http://core.svn.wordpress.org/trunk@20241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Tidy up sanity checks in theme.dev.js. props DH-Shredder, fixes #19815.



git-svn-id: http://core.svn.wordpress.org/trunk@20242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887.

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

git-svn-id: http://core.svn.wordpress.org/trunk@20244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove dead code from the Links widget. Props pavelevap, SergeyBiryukov. Fixes #19179.

The widget() method isn't called on the admin screen.


git-svn-id: http://core.svn.wordpress.org/trunk@20245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Only pass arguments from the deprecated add_custom_background() or add_custom_image_header() to add_theme_support() if the argument was actually supplied. With [20212], default argument values (like wp-head-callback=_custom_background_cb) only work for arguments that were not explicitly set, so don't set empty values. see #20249.

git-svn-id: http://core.svn.wordpress.org/trunk@20246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Don't use class="code" for the captions textareas as it resets RTL, see #18311

git-svn-id: http://core.svn.wordpress.org/trunk@20247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Numerous API refinements and bugfixes. Add a theme_supports check for header_textcolor. see #19910.

* prepare_controls() now removes any settings and sections that return false for check_capabilities().
* Added maybe_render() methods to both settings and sections that call the protected render() methods.
* Stop firing front-end preview functionality when rendering the controls.
* Merged the WP_Customize_Setting->_render_type() method into WP_Customize_Setting->render().
* Removed the 'customize_render_control-' hook; use 'customize_render_setting' instead.
* Added a  property to sections and settings so they no longer rely on the  global. Hooray for dependency injection.
* Shifted calls to WP_Customize_Setting->enqueue() to the 'customize_controls_enqueue_scripts' action.
* Added a theme_supports check for the header_textcolor setting.

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

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