From 047501800d00f87c23f2c0aed16a9106c2c3bbf2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Oct 2015 23:54:24 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-customize-manager.php | 6 ++++-- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 1505b60dfc..485e164f78 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -1389,9 +1389,11 @@ final class WP_Customize_Manager { */ public function get_document_title_template() { 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 { - $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. return $document_title_tmpl; diff --git a/wp-includes/version.php b/wp-includes/version.php index f3e42b7be3..2c2d209929 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.