"Save & Activate" for customize controls localization. see #20692 #19910

git-svn-id: https://develop.svn.wordpress.org/trunk@20878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-05-24 15:20:33 +00:00
parent 65125dccb3
commit 34e5357ab9

View File

@ -302,7 +302,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'customize-preview', "/wp-includes/js/customize-preview$suffix.js", array( 'customize-base' ), false, 1 ); $scripts->add( 'customize-preview', "/wp-includes/js/customize-preview$suffix.js", array( 'customize-base' ), false, 1 );
$scripts->add( 'customize-controls', "/wp-includes/js/customize-controls$suffix.js", array( 'customize-base' ), false, 1 ); $scripts->add( 'customize-controls', "/wp-includes/js/customize-controls$suffix.js", array( 'customize-base' ), false, 1 );
$scripts->localize( 'customize-controls', '_wpCustomizeControlsL10n', array( $scripts->localize( 'customize-controls', '_wpCustomizeControlsL10n', array(
'save' => __( 'Save' ), 'save' => __( 'Save & Publish' ),
) ); ) );
if ( is_admin() ) { if ( is_admin() ) {