From 548960fe580940098505e31a99be3fb7c24ea74e Mon Sep 17 00:00:00 2001 From: Daryl 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: https://develop.svn.wordpress.org/trunk@20747 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 8cf6d87092..16217104e0 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' : '';
- +