diff --git a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php index fda1e6e094..1abdd70daf 100644 --- a/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php +++ b/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php @@ -140,7 +140,7 @@ if ( ! class_exists( 'Twenty_Twenty_One_Customize' ) ) { $wp_customize, 'background_color', array( - 'label' => esc_html_x( 'Background Color', 'Customizer control', 'twentytwentyone' ), + 'label' => esc_html_x( 'Background color', 'Customizer control', 'twentytwentyone' ), 'section' => 'colors', 'palette' => $colors, ) 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 959c80dd6f..68d120f827 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 @@ -165,8 +165,8 @@ class Twenty_Twenty_One_Dark_Mode { array( 'type' => 'checkbox', 'section' => 'colors', - 'label' => esc_html__( 'Dark Mode Support', 'twentytwentyone' ), - 'description' => __( 'Respect visitor\'s device dark mode settings.
Dark mode is a device setting. If a visitor to your site requests it, your site will be shown with a dark background and light text.

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' ), + 'label' => esc_html__( 'Dark Mode support', 'twentytwentyone' ), + 'description' => __( 'Respect visitor’s device dark mode settings.
Dark mode is a device setting. If a visitor to your site requests it, your site will be shown with a dark background and light text.

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' ), 'active_callback' => function( $value ) { return 127 < Twenty_Twenty_One_Custom_Colors::get_relative_luminance_from_hex( get_theme_mod( 'background_color', 'D1E4DD' ) ); }, @@ -402,7 +402,7 @@ class Twenty_Twenty_One_Dark_Mode { return; } $content = '

' . __( 'Twenty Twenty-One uses LocalStorage when Dark Mode support is enabled.', 'twentytwentyone' ) . '

' - . '' . __( 'Suggested Text:', 'twentytwentyone' ) . ' ' + . '' . __( 'Suggested text:', 'twentytwentyone' ) . ' ' . __( 'This website uses LocalStorage to save the setting when Dark Mode support is turned on or off.
LocalStorage is necessary for the setting to work and is only used when a user clicks on the Dark Mode button.
No data is saved in the database or transferred.', 'twentytwentyone' ); wp_add_privacy_policy_content( 'Twenty Twenty-One', wp_kses_post( wpautop( $content, false ) ) ); } diff --git a/wp-content/themes/twentytwentyone/comments.php b/wp-content/themes/twentytwentyone/comments.php index d832fcf487..bad32f83d6 100644 --- a/wp-content/themes/twentytwentyone/comments.php +++ b/wp-content/themes/twentytwentyone/comments.php @@ -32,12 +32,12 @@ $twenty_twenty_one_comment_count = get_comments_number(); ?>

- + diff --git a/wp-content/themes/twentytwentyone/footer.php b/wp-content/themes/twentytwentyone/footer.php index 3c509c8913..b0c26e4fe6 100644 --- a/wp-content/themes/twentytwentyone/footer.php +++ b/wp-content/themes/twentytwentyone/footer.php @@ -21,7 +21,7 @@