mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Customize: Correct closing tags in customize_themes_print_templates()
.
Props johnpgreen, nandorsky. Fixes #43307. Built from https://develop.svn.wordpress.org/trunk@42711 git-svn-id: http://core.svn.wordpress.org/trunk@42539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e665d1f15
commit
d9f222f740
@ -744,14 +744,14 @@ function customize_themes_print_templates() {
|
|||||||
|
|
||||||
<div class="theme-actions">
|
<div class="theme-actions">
|
||||||
<# if ( data.active ) { #>
|
<# if ( data.active ) { #>
|
||||||
<button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></a>
|
<button type="button" class="button button-primary customize-theme"><?php _e( 'Customize' ); ?></button>
|
||||||
<# } else if ( 'installed' === data.type ) { #>
|
<# } else if ( 'installed' === data.type ) { #>
|
||||||
<?php if ( current_user_can( 'delete_themes' ) ) { ?>
|
<?php if ( current_user_can( 'delete_themes' ) ) { ?>
|
||||||
<# if ( data.actions && data.actions['delete'] ) { #>
|
<# if ( data.actions && data.actions['delete'] ) { #>
|
||||||
<a href="{{{ data.actions['delete'] }}}" data-slug="{{ data.id }}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a>
|
<a href="{{{ data.actions['delete'] }}}" data-slug="{{ data.id }}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a>
|
||||||
<# } #>
|
<# } #>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></span>
|
<button type="button" class="button button-primary preview-theme" data-slug="{{ data.id }}"><?php _e( 'Live Preview' ); ?></button>
|
||||||
<# } else { #>
|
<# } else { #>
|
||||||
<button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button>
|
<button type="button" class="button theme-install" data-slug="{{ data.id }}"><?php _e( 'Install' ); ?></button>
|
||||||
<button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button>
|
<button type="button" class="button button-primary theme-install preview" data-slug="{{ data.id }}"><?php _e( 'Install & Preview' ); ?></button>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-42710';
|
$wp_version = '5.0-alpha-42711';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user