diff --git a/lib/class-wp-theme-json-gutenberg.php b/lib/class-wp-theme-json-gutenberg.php index cfecc662cb5ce1..2a147fad510e9f 100644 --- a/lib/class-wp-theme-json-gutenberg.php +++ b/lib/class-wp-theme-json-gutenberg.php @@ -3316,7 +3316,7 @@ public function get_data() { $items = array(); if ( isset( $preset['theme'] ) ) { foreach ( $preset['theme'] as $item ) { - if ( is_array( $item ) ){ + if ( is_array( $item ) ) { $slug = $item['slug']; unset( $item['slug'] ); $items[ $slug ] = $item; @@ -3325,7 +3325,7 @@ public function get_data() { } if ( isset( $preset['custom'] ) ) { foreach ( $preset['custom'] as $item ) { - if ( is_array( $item ) ){ + if ( is_array( $item ) ) { $slug = $item['slug']; unset( $item['slug'] ); $items[ $slug ] = $item;