mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Customizer: Replace context for two strings added in [30306] with a translator comment.
Fixes #34203. Built from https://develop.svn.wordpress.org/trunk@34921 git-svn-id: http://core.svn.wordpress.org/trunk@34886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6d21ed0d99
commit
047501800d
@ -1389,9 +1389,11 @@ final class WP_Customize_Manager {
|
|||||||
*/
|
*/
|
||||||
public function get_document_title_template() {
|
public function get_document_title_template() {
|
||||||
if ( $this->is_theme_active() ) {
|
if ( $this->is_theme_active() ) {
|
||||||
$document_title_tmpl = _x( 'Customize: %s', 'Placeholder is the document title from the preview' );
|
/* translators: %s: document title from the preview */
|
||||||
|
$document_title_tmpl = __( 'Customize: %s' );
|
||||||
} else {
|
} else {
|
||||||
$document_title_tmpl = _x( 'Live Preview: %s', 'Placeholder is the document title from the preview' );
|
/* translators: %s: document title from the preview */
|
||||||
|
$document_title_tmpl = __( 'Live Preview: %s' );
|
||||||
}
|
}
|
||||||
$document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title.
|
$document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title.
|
||||||
return $document_title_tmpl;
|
return $document_title_tmpl;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34920';
|
$wp_version = '4.4-alpha-34921';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user