diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/customize.php --- a/wp/wp-admin/customize.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-admin/customize.php Tue Jun 09 03:35:32 2015 +0200 @@ -1,6 +1,6 @@ theme()->display('Name') ) ) ); -?><?php echo $admin_title; ?>is_theme_active() ) { + $document_title_tmpl = _x( 'Customize: %s', 'Placeholder is the document title from the preview' ); +} else { + $document_title_tmpl = _x( 'Live Preview: %s', 'Placeholder is the document title from the preview' ); +} +$document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // because exported to JS and assigned to document.title +$admin_title = sprintf( $document_title_tmpl, __( 'Loading…' ) ); +?><?php echo $admin_title; ?> + + + +">
-
- is_theme_active() ? __( 'Save & Publish' ) : __( 'Save & Activate' ); - submit_button( $save_text, 'primary save', 'save', false ); - ?> - - - - +
+ is_theme_active() ? __( 'Save & Publish' ) : __( 'Save & Activate' ); + submit_button( $save_text, 'primary save', 'save', false ); + ?> + + + + + + + + + +
+
+ +
- theme()->get_screenshot(); - $cannot_expand = ! ( $screenshot || $wp_customize->theme()->get('Description') ); - ?> - -
-
-
+
+
+
+
' . $wp_customize->theme()->display('Name') . '' ); + echo sprintf( __( 'You are customizing %s' ), '' . get_bloginfo( 'name' ) . '' ); ?>
- -
- - - - - theme()->get('Description') ): ?> -
theme()->display('Description'); ?>
- -
- +
-
    - sections() as $section ) - $section->maybe_render(); - ?> -
+
+
+
+