Ticket #20692: 20692.diff
| File 20692.diff, 2.4 KB (added by helenyhou, 12 months ago) |
|---|
-
wp-includes/theme.php
1592 1592 $l10n = array( 'url' => admin_url( 'admin.php' ) ); 1593 1593 1594 1594 if ( is_admin() ) 1595 $l10n[ 'back' ] = sprintf( __( '← Return to %s' ), get_admin_page_title());1595 $l10n[ 'back' ] = __( 'Cancel' ); 1596 1596 1597 1597 wp_localize_script( 'customize-loader', 'wpCustomizeLoaderL10n', $l10n ); 1598 1598 } -
wp-includes/css/customize-controls.dev.css
131 131 margin: 0; 132 132 } 133 133 134 #customize-header-actions .button-primary { 135 float: right; 136 margin-top: 11px; 137 } 138 134 139 #customize-footer-actions img { 135 140 display: none; 136 141 position: absolute; … … 142 147 display: inline; 143 148 } 144 149 145 #customize-footer-actions .button-primary {146 display: inline-block;147 margin-top: 12px;148 }149 150 150 .customize-control { 151 151 width: 100%; 152 152 float: left; -
wp-admin/customize.php
50 50 <form id="customize-controls" class="wrap wp-full-overlay-sidebar"> 51 51 <?php wp_nonce_field( 'customize_controls' ); ?> 52 52 <div id="customize-header-actions" class="wp-full-overlay-header"> 53 <a class="back" href="<?php echo esc_url( admin_url( 'themes.php' ) ); ?>"> 54 <?php printf( __( '← Return to %s' ), __('Manage Themes') ); ?> 53 <?php 54 $save_text = $wp_customize->is_theme_active() ? __( 'Save' ) : __( 'Save and Activate' ); 55 submit_button( $save_text, 'primary', 'save', false ); 56 ?> 57 <a class="back button" href="<?php echo esc_url( admin_url( 'themes.php' ) ); ?>"> 58 <?php _e( 'Cancel' ); ?> 55 59 </a> 56 60 </div> 57 61 … … 81 85 </div> 82 86 83 87 <div id="customize-footer-actions" class="wp-full-overlay-footer"> 84 <?php85 $save_text = $wp_customize->is_theme_active() ? __('Save') : __('Save and Activate');86 submit_button( $save_text, 'primary', 'save', false );87 ?>88 88 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" /> 89 89 90 90 <a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
