diff --git a/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php b/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php index 6d5e4feea1..c6f0d7d869 100644 --- a/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php +++ b/wp-content/themes/twentytwenty/classes/class-twentytwenty-customize.php @@ -122,8 +122,8 @@ if ( ! class_exists( 'TwentyTwenty_Customize' ) ) { 'section' => 'colors', 'label' => __( 'Primary Color', 'twentytwenty' ), 'choices' => array( - 'default' => __( 'Default', 'twentytwenty' ), - 'custom' => __( 'Custom', 'twentytwenty' ), + 'default' => _x( 'Default', 'color', 'twentytwenty' ), + 'custom' => _x( 'Custom', 'color', 'twentytwenty' ), ), ) ); diff --git a/wp-content/themes/twentytwenty/functions.php b/wp-content/themes/twentytwenty/functions.php index 8f7826dd98..adcef29f1a 100644 --- a/wp-content/themes/twentytwenty/functions.php +++ b/wp-content/themes/twentytwenty/functions.php @@ -486,12 +486,12 @@ function twentytwenty_block_editor_settings() { 'color' => twentytwenty_get_color_for_area( 'content', 'accent' ), ), array( - 'name' => __( 'Primary', 'twentytwenty' ), + 'name' => _x( 'Primary', 'color', 'twentytwenty' ), 'slug' => 'primary', 'color' => twentytwenty_get_color_for_area( 'content', 'text' ), ), array( - 'name' => __( 'Secondary', 'twentytwenty' ), + 'name' => _x( 'Secondary', 'color', 'twentytwenty' ), 'slug' => 'secondary', 'color' => twentytwenty_get_color_for_area( 'content', 'secondary' ), ), diff --git a/wp-content/themes/twentytwenty/header.php b/wp-content/themes/twentytwenty/header.php index 7095b4a8a9..dd63f33767 100644 --- a/wp-content/themes/twentytwenty/header.php +++ b/wp-content/themes/twentytwenty/header.php @@ -50,7 +50,7 @@ - + @@ -85,7 +85,7 @@ if ( has_nav_menu( 'primary' ) || ! has_nav_menu( 'expanded' ) ) { ?> -