equal
deleted
inserted
replaced
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> |