From 022287380fe0218ad28c1ca8b736246cd05e7ebc Mon Sep 17 00:00:00 2001
From: Jonathan Desrosiers
Date: Thu, 18 Nov 2021 20:41:21 +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.
git-svn-id: https://develop.svn.wordpress.org/trunk@52211 602fd350-edb4-49c9-b593-d223f7449a82
---
.../classes/class-twenty-twenty-one-dark-mode.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php b/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
index 4de201c1b9..854cb2e0cf 100644
--- a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
+++ b/src/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',