Use correct echoing context function. see #27889.
Built from https://develop.svn.wordpress.org/trunk@28160 git-svn-id: http://core.svn.wordpress.org/trunk@27991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3a9851d0fa
commit
cd6b973b54
|
@ -202,7 +202,7 @@ if ( $tab ) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<# if ( data.installed ) { #>
|
<# if ( data.installed ) { #>
|
||||||
<div class="theme-installed"><?php _x( 'Already Installed', 'theme' ); ?></div>
|
<div class="theme-installed"><?php _ex( 'Already Installed', 'theme' ); ?></div>
|
||||||
<# } #>
|
<# } #>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ if ( $tab ) {
|
||||||
<div class="wp-full-overlay-header">
|
<div class="wp-full-overlay-header">
|
||||||
<a href="#" class="close-full-overlay button-secondary"><?php _e( 'Close' ); ?></a>
|
<a href="#" class="close-full-overlay button-secondary"><?php _e( 'Close' ); ?></a>
|
||||||
<# if ( data.installed ) { #>
|
<# if ( data.installed ) { #>
|
||||||
<a href="#" class="button button-primary theme-install disabled"><?php _x( 'Installed', 'theme' ); ?></a>
|
<a href="#" class="button button-primary theme-install disabled"><?php _ex( 'Installed', 'theme' ); ?></a>
|
||||||
<# } else { #>
|
<# } else { #>
|
||||||
<a href="{{ data.install_url }}" class="button button-primary theme-install"><?php _e( 'Install' ); ?></a>
|
<a href="{{ data.install_url }}" class="button button-primary theme-install"><?php _e( 'Install' ); ?></a>
|
||||||
<# } #>
|
<# } #>
|
||||||
|
|
Loading…
Reference in New Issue