From 03a901192a5477c863abeb4c6dfbf6cb54e49557 Mon Sep 17 00:00:00 2001 From: desrosj Date: Thu, 18 Nov 2021 20:43:00 +0000 Subject: [PATCH] Twenty Twenty-One: Correct description of Dark Mode in the Customizer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Dark Mode toggle can appear in both bottom corners. This removes “right” from the description to be accurate for both RTL and LTR languages. Props musabshakeel, dilipbheda, sabernhardt. Fixes #53892. Built from https://develop.svn.wordpress.org/trunk@52211 git-svn-id: http://core.svn.wordpress.org/trunk@51803 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../classes/class-twenty-twenty-one-dark-mode.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php index 4de201c1b9..854cb2e0cf 100644 --- a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php +++ b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php @@ -178,7 +178,7 @@ class Twenty_Twenty_One_Dark_Mode { esc_url( __( 'https://wordpress.org/support/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) ) ); $description .= '

'; - $description .= '

' . __( 'Dark Mode can also be turned on and off with a button that you can find in the bottom right corner of the page.', 'twentytwentyone' ) . '

'; + $description .= '

' . __( 'Dark Mode can also be turned on and off with a button that you can find in the bottom corner of the page.', 'twentytwentyone' ) . '

'; $wp_customize->add_control( 'respect_user_color_preference', diff --git a/wp-includes/version.php b/wp-includes/version.php index b881ab4678..c8e8dfc853 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52210'; +$wp_version = '5.9-alpha-52211'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.