Theme Customizer: Reduce size of box shadow to minimize scrollbar overlap in Firefox. props azaozz, fixes #20753, see #19910.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Do not spawn cron or trigger update checks when running the customizer.

Both can slow down the experience.

The alternate cron will issue a redirect which creates more work for the
customizer, but not exit immediately, which means shutdown will be delayed
(see future changeset from koopersmith in #20507 where we check for a token
printed on shutdown to ensure the response came from the customizer).

The update checks could also cause bad data to be sent. In particular, the
currently active theme would be incorrect.

see #20507.



git-svn-id: http://core.svn.wordpress.org/trunk@20924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Add a signature to preview requests to be super-double-ultra-sure that the customizer generated the preview. Redirects can be sneaky. fixes #20507, see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Introduce a remove_preview_signature() method that we can employ to ensure we do not think a wp_die() is a customizer-generated preview. see #20507.

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

git-svn-id: http://core.svn.wordpress.org/trunk@20927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Fix IE8 drag/drop uploader incompatibility. see #20582, #19910.

Bind drag/drop support checks to individual plupload instances.
Add drag-over classes to wp.Uploader and corresponding styles to customize image controls.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Fix preview background CSS creation to insert/remove style nodes (for IE8 compatibility). fixes #20582, see #19910.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: More RTL. props ocean90. fixes #20585.

git-svn-id: http://core.svn.wordpress.org/trunk@20932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: 'Header Text Color', not 'Text Color', when referring to the header text in the Colors section. props ocean90. see #19910.

git-svn-id: http://core.svn.wordpress.org/trunk@20933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: As customize.php without a theme parameter defaults to the current theme, update wp_customize_url() to make $stylesheet optional and update references for the current theme.

see #19910, #20751, #20575.



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

git-svn-id: http://core.svn.wordpress.org/trunk@20935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910.

Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value().

Adds support for regular hex colors to the color picker.

Changes color methods:
* sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string.
* sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string.
* maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Color picker RTL fixes. props ocean90, see #20448.


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

git-svn-id: http://core.svn.wordpress.org/trunk@20939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Don't expand theme title if there are no details to show. props nacin, fixes #20757, see #19910.


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

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