X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e08b42e8ad054ec67522d7ac1aaae5dc68cb3d01..5e031ad59895b5682d1509675cafe9f2c5081c12:/wp-admin/customize.php?ds=sidebyside diff --git a/wp-admin/customize.php b/wp-admin/customize.php index b247b19d..c8bd6e3c 100644 --- a/wp-admin/customize.php +++ b/wp-admin/customize.php @@ -1,6 +1,6 @@ theme()->display('Name') ) ) ); +if ( $wp_customize->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; ?>