Skip to content

Commit

Permalink
Fix spelling mistakes and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jul 4, 2022
1 parent b8f0fe8 commit 6d0592a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,8 @@ protected static function get_property_value( $styles, $path, $theme_json = null
* - prevent_override => Disables override of default presets by theme presets.
* The relationship between whether to override the defaults
* and whether the defaults are enabled is inverse:
* - If defaults are enabled => theme presets should not be overriden
* - If defaults are disabled => theme presets should be overriden
* - If defaults are enabled => theme presets should not be overridden
* - If defaults are disabled => theme presets should be overridden
* For example, a theme sets defaultPalette to false,
* making the default palette hidden from the user.
* In that case, we want all the theme presets to be present,
Expand Down Expand Up @@ -960,7 +960,7 @@ public function set_spacing_sizes() {
}

$below_sizes[] = array(
/* translators: %s: Muliple of t-shirt sizing, eg. 2X-Small */
/* translators: %s: Multiple of t-shirt sizing, eg. 2X-Small */
'name' => $x === $steps_mid_point - 1 ? __( 'Small', 'gutenberg' ) : sprintf( __( '%sX-Small', 'gutenberg' ), strval( $x_small_count ) ),
'slug' => $slug,
'size' => round( $current_step, 2 ) . $unit,
Expand Down Expand Up @@ -997,7 +997,7 @@ public function set_spacing_sizes() {
: ( $spacing_scale['increment'] >= 1 ? $current_step * $spacing_scale['increment'] : $current_step / $spacing_scale['increment'] );

$above_sizes[] = array(
/* translators: %s: Muliple of t-shirt sizing, eg. 2X-Large */
/* translators: %s: Multiple of t-shirt sizing, eg. 2X-Large */
'name' => 0 === $x ? __( 'Large', 'gutenberg' ) : sprintf( __( '%sX-Large', 'gutenberg' ), strval( $x_large_count ) ),
'slug' => $slug,
'size' => round( $current_step, 2 ) . $unit,
Expand Down
2 changes: 1 addition & 1 deletion phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function test_get_stylesheet_handles_whitelisted_element_pseudo_selectors() {
$this->assertEquals( $expected, $theme_json->get_stylesheet( array( 'styles' ) ) );
}

function test_get_stylesheet_handles_only_psuedo_selector_rules_for_given_property() {
function test_get_stylesheet_handles_only_pseudo_selector_rules_for_given_property() {
$theme_json = new WP_Theme_JSON_Gutenberg(
array(
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
Expand Down

0 comments on commit 6d0592a

Please sign in to comment.