Skip to content

Commit

Permalink
Use empty for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Aug 14, 2023
1 parent 30b928a commit 034f49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ protected static function replace_slug_in_string( $input, $slug ) {
protected static function compute_preset_vars( $settings, $origins ) {
$declarations = array();
foreach ( static::PRESETS_METADATA as $preset_metadata ) {
if ( ! isset( $preset_metadata['css_vars'] ) ) {
if ( empty( $preset_metadata['css_vars'] ) ) {
continue;
}

Expand Down

0 comments on commit 034f49c

Please sign in to comment.