"Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910

git-svn-id: https://develop.svn.wordpress.org/trunk@20877 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2012-05-24 14:44:13 +00:00
parent e4768db2b7
commit 65125dccb3

View File

@ -51,7 +51,7 @@ do_action( 'customize_controls_print_scripts' );
<?php wp_nonce_field( 'customize_controls' ); ?>
<div id="customize-header-actions" class="wp-full-overlay-header">
<?php
$save_text = $wp_customize->is_theme_active() ? __( 'Save' ) : __( 'Save and Activate' );
$save_text = $wp_customize->is_theme_active() ? __( 'Save &amp; Publish' ) : __( 'Save &amp; Activate' );
submit_button( $save_text, 'primary', 'save', false );
?>
<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" />