Make WordPress Core

Changeset 52211


Ignore:
Timestamp:
11/18/2021 08:41:21 PM (3 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Correct description of Dark Mode in the Customizer.

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php

    r51657 r52211  
    179179        );
    180180        $description .= '</p>';
    181         $description .= '<p>' . __( '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' ) . '</p>';
     181        $description .= '<p>' . __( 'Dark Mode can also be turned on and off with a button that you can find in the bottom corner of the page.', 'twentytwentyone' ) . '</p>';
    182182
    183183        $wp_customize->add_control(
Note: See TracChangeset for help on using the changeset viewer.