From 931ce249e4944bad1bf9e7bdf056c91b9f7fd693 Mon Sep 17 00:00:00 2001 From: koopersmith Date: Wed, 9 May 2012 01:38:54 +0000 Subject: [PATCH] Theme Customizer: Link the current theme screenshot to the customizer. see #19910. git-svn-id: http://core.svn.wordpress.org/trunk@20747 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 8cf6d8709..16217104e 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -66,7 +66,7 @@ if ( current_user_can( 'edit_theme_options' ) ) { '

' . __('The theme being previewed is fully interactive — navigate to different pages to see how the theme handles posts, archives, and other page templates.') . '

' . '

' . __('In the left-hand pane of the Theme Customizer you can edit the theme settings. The settings will differ, depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the "Save and Activate" button at the bottom of the left-hand sidebar.') . '

' . '

' . __('When previewing on smaller monitors, you can use the "Collapse" icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the Collapse icon again.') . '

'; - + get_current_screen()->add_help_tab( array( 'id' => 'customize-preview-themes', 'title' => __('Previewing and Customizing'), @@ -115,10 +115,14 @@ $ct = wp_get_theme(); $screenshot = $ct->get_screenshot(); $class = $screenshot ? 'has-screenshot' : ''; +$customize_title = sprintf( __( 'Customize “%s”' ), $ct->display('Name') ); + ?>
- <?php esc_attr_e( 'Current theme preview' ); ?> + + <?php esc_attr_e( 'Current theme preview' ); ?> +

@@ -136,7 +140,7 @@ $class = $screenshot ? 'has-screenshot' : '';
- +