Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582, #19910.

Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.


git-svn-id: http://core.svn.wordpress.org/trunk@20893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Use correct variable when redirecting to about.php from update-core.php. fixes #19599.

git-svn-id: http://core.svn.wordpress.org/trunk@20894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Run _redirect_to_about_wordpress() in 3.4 due to the change in [20894] and the reliance on ?updated in [20887]. see #19599.

git-svn-id: http://core.svn.wordpress.org/trunk@20895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
s/sumbit/submit/. props tollmanz, fixes #20744.

git-svn-id: http://core.svn.wordpress.org/trunk@20896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Prevent messengers from binding to the current window when a parent doesn't exist. see #19910.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Improve activate and publish flow, make customizer states easier to track. fixes #20743, see #19910.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Preview by default the registered default image for custom backgrounds. props mfields, billerickson.

If there is a default color registered, show a 'Default' action rather than a 'Clear' action, as clearing the value would simply return to the default.

Make current_theme_supports() accept a second argument for 'custom-background' requests, the same as get_theme_support(). Missed in earlier changes, see #20249.

fixes #20734, fixes #18041.



git-svn-id: http://core.svn.wordpress.org/trunk@20901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add the old root feed files to the $_old_files array, commented the way we've done for wp-register.php and wp-pass.php. see #20727.



git-svn-id: http://core.svn.wordpress.org/trunk@20902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: Correct the display of featured images in the showcase template for IE8. props chellycat. fixes #20479.

git-svn-id: http://core.svn.wordpress.org/trunk@20903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: Remove border and padding from images in the image widget. props lancewillett, fixes #20482.

git-svn-id: http://core.svn.wordpress.org/trunk@20904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471.

git-svn-id: http://core.svn.wordpress.org/trunk@20905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: Style the samp and var elements the same way we style the code and kbd elements. props mfields, fixes #17842.

git-svn-id: http://core.svn.wordpress.org/trunk@20906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Eleven: Remove unused CSS. props SergeyBiryukov. fixes #20470.

git-svn-id: http://core.svn.wordpress.org/trunk@20907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Improve default background property handling. see #20600, #19910.

If the custom background default wp-head-callback (_custom_background_cb) is used, we use postMessage for all custom background properties. Otherwise, we use full refreshes.

When using postMessage, the preview recalculates the custom background CSS block, allowing it to omit CSS values when they are not present and fall back on the original CSS.


git-svn-id: http://core.svn.wordpress.org/trunk@20908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Skip cached credits if version number doesn't match. props duck_. fixes #20270.

git-svn-id: http://core.svn.wordpress.org/trunk@20909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Improve hex color sanitization functions. fixes #20600, see #19910.

Instead of fetching default header_textcolor manually, return null to do so automatically.
Improve hex regex.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Section reorganization. see #19910.

Now that sections are organized in accordions, group items by size and usage.
Move header/background controls into colors, header image, background image, and title/tagline sections.


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