Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20810 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
621e3c1fc6
commit
9f550982a1
@ -123,6 +123,7 @@ $customize_title = sprintf( __( 'Customize “%s”' ), $ct->display('Na
|
|||||||
<a href="<?php echo wp_customize_url( $ct->get_stylesheet() ); ?>" class="load-customize hide-if-no-customize" title="<?php echo esc_attr( $customize_title ); ?>">
|
<a href="<?php echo wp_customize_url( $ct->get_stylesheet() ); ?>" class="load-customize hide-if-no-customize" title="<?php echo esc_attr( $customize_title ); ?>">
|
||||||
<img src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Current theme preview' ); ?>" />
|
<img src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Current theme preview' ); ?>" />
|
||||||
</a>
|
</a>
|
||||||
|
<img class="hide-if-customize" src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Current theme preview' ); ?>" />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<h3><?php _e('Current Theme'); ?></h3>
|
<h3><?php _e('Current Theme'); ?></h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user