Theme Customizer: Make the wp.customize.Events methods chainable. see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Properly change state when theme is switched. fixes #20610, see #19910.

* Causes the Manage Themes page to refresh if the customizer is closed after the active theme is switched.
* Changes the text of the 'Save and Activate' button once the theme has been activated.
* Improves the naming of the customize control settings.
* Add events to customize.Loader and make callbacks more flexible.
* Makes the customize-loader l10n compatible with non-admin settings.
* Adds WP_Customize->is_current_theme_active().
* Minor style corrections, including jQuery.attr/prop changes.



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

git-svn-id: http://core.svn.wordpress.org/trunk@20803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
DFW: another attempt to get auto-resize working right, see #20608, see #20684

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

git-svn-id: http://core.svn.wordpress.org/trunk@20805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Create a new attachment and make a copy of the image when selecting an image from the image library. This prevents orphaning the header if the original attachment is deleted. This also prevents stomping of meta.

Add a button to skip cropping.

Props SergeyBiryukov
Fixes #20657 #20667


git-svn-id: http://core.svn.wordpress.org/trunk@20806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix wp.getPages response when fetching pages the current user does not have caps for. Props maxcutler, redsweater. fixes #20629


git-svn-id: http://core.svn.wordpress.org/trunk@20807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Remove debug cruft. Fix typo. Props SergeyBiryukov. fixes #20657

git-svn-id: http://core.svn.wordpress.org/trunk@20808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Customizer: Properly escape customize settings when sending values to JS. Add WP_Customize_Setting->js_value(). fixes #20687, see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693, see #19910.


git-svn-id: http://core.svn.wordpress.org/trunk@20810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Install Themes: Add link to the no-js theme previewer to the 'Preview' link. props ocean90, fixes #20694.


git-svn-id: http://core.svn.wordpress.org/trunk@20811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Installer: Prevent unnecessary admin code from printing and print markup in correct order. Remove dead code. props ocean90, fixes #20695.


git-svn-id: http://core.svn.wordpress.org/trunk@20812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Theme Installer: IE7 compatibility. props ocean90, fixes #20696.


git-svn-id: http://core.svn.wordpress.org/trunk@20813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293

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

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