Manage Themes: Show current theme screen shot when customize is not supported. props ocean90, fixes #20693, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
507f3b2d0c
commit
21384672a4
|
@ -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 ); ?>">
|
||||
<img src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Current theme preview' ); ?>" />
|
||||
</a>
|
||||
<img class="hide-if-customize" src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Current theme preview' ); ?>" />
|
||||
<?php endif; ?>
|
||||
|
||||
<h3><?php _e('Current Theme'); ?></h3>
|
||||
|
@ -279,4 +280,4 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
|||
?>
|
||||
</div>
|
||||
|
||||
<?php require('./admin-footer.php'); ?>
|
||||
<?php require('./admin-footer.php'); ?>
|
||||
|
|
Loading…
Reference in New Issue