From 48aa21e9d9894696de4102783f17e81441c8e134 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 19 Jan 2022 10:35:03 +0000 Subject: [PATCH] I18N: Improve the context for color-related strings in `WP_Theme::translate_header()`. * Use the `color scheme` context for the "Light" string, for more accuracy. * Add the same context to the "Dark" string too, for consistency. Follow-up to [37946], [52588]. Fixes #54804. Built from https://develop.svn.wordpress.org/trunk@52603 git-svn-id: http://core.svn.wordpress.org/trunk@52191 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-theme.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index 9697fb6a5d..04e3e0ade4 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -981,8 +981,8 @@ final class WP_Theme implements ArrayAccess { 'tan' => __( 'Tan' ), 'white' => __( 'White' ), 'yellow' => __( 'Yellow' ), - 'dark' => __( 'Dark' ), - 'light' => _x( 'Light', 'color' ), + 'dark' => _x( 'Dark', 'color scheme' ), + 'light' => _x( 'Light', 'color scheme' ), 'fixed-layout' => __( 'Fixed Layout' ), 'fluid-layout' => __( 'Fluid Layout' ), 'responsive-layout' => __( 'Responsive Layout' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 486642abf0..0f2aa93459 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52602'; +$wp_version = '6.0-alpha-52603'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.