wp/wp-includes/customize/class-wp-customize-themes-panel.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
    42 					echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> {{ data.title }}';
    42 					echo '<span class="customize-action">' . __( 'Active theme' ) . '</span> {{ data.title }}';
    43 				} else {
    43 				} else {
    44 					echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> {{ data.title }}';
    44 					echo '<span class="customize-action">' . __( 'Previewing theme' ) . '</span> {{ data.title }}';
    45 				}
    45 				}
    46 				?>
    46 				?>
    47 
       
    48 				<?php if ( current_user_can( 'switch_themes' ) ) : ?>
    47 				<?php if ( current_user_can( 'switch_themes' ) ) : ?>
    49 					<button type="button" class="button change-theme" aria-label="<?php esc_attr_e( 'Change theme' ); ?>"><?php _ex( 'Change', 'theme' ); ?></button>
    48 					<button type="button" class="button change-theme" aria-label="<?php esc_attr_e( 'Change theme' ); ?>"><?php _ex( 'Change', 'theme' ); ?></button>
    50 				<?php endif; ?>
    49 				<?php endif; ?>
    51 			</h3>
    50 			</h3>
    52 			<ul class="accordion-sub-container control-panel-content"></ul>
    51 			<ul class="accordion-sub-container control-panel-content"></ul>