Make WordPress Core

Ticket #53892: 53892.diff

File 53892.diff, 1.0 KB (added by dilipbheda, 3 years ago)

Changed the wrong word in color & dark mode custom component

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

    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 4034eaae25..5fb5fd2203 100644
    a b class Twenty_Twenty_One_Dark_Mode { 
    178178                        esc_url( __( 'https://wordpress.org/support/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) )
    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 left corner of the page.', 'twentytwentyone' ) . '</p>';
    182182
    183183                $wp_customize->add_control(
    184184                        'respect_user_color_preference',