Skip to content

Commit

Permalink
Make linter happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng committed Nov 13, 2023
1 parent 22ed56f commit d15ab3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -1705,8 +1705,8 @@ protected static function get_settings_values_by_slug( $settings, $preset_metada
}
foreach ( $preset_per_origin[ $origin ] as $preset ) {
$slug = _wp_to_kebab_case( $preset['slug'] );
if ( ! empty( $preset['fontFamily'] ) ){

if ( ! empty( $preset['fontFamily'] ) ) {
$slug = $preset['slug'];
}

Expand Down Expand Up @@ -1756,7 +1756,7 @@ protected static function get_settings_slugs( $settings, $preset_metadata, $orig
foreach ( $preset_per_origin[ $origin ] as $preset ) {
$slug = _wp_to_kebab_case( $preset['slug'] );

if ( ! empty( $preset['fontFamily'] ) ){
if ( ! empty( $preset['fontFamily'] ) ) {
$slug = $preset['slug'];
}

Expand Down

0 comments on commit d15ab3c

Please sign in to comment.