Skip to content

Commit 02cd05a

Browse files
committed
Remove duplication of inherint set up.
1 parent 58839d5 commit 02cd05a

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/wp-includes/script-loader.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3081,12 +3081,6 @@ function _wp_theme_json_webfonts_handler() {
30813081
}
30823082

30833083
// Initialize the array structure.
3084-
if ( empty( $settings['typography'] ) ) {
3085-
$settings['typography'] = array();
3086-
}
3087-
if ( empty( $settings['typography']['fontFamilies'] ) ) {
3088-
$settings['typography']['fontFamilies'] = array();
3089-
}
30903084
if ( empty( $settings['typography']['fontFamilies']['theme'] ) ) {
30913085
$settings['typography']['fontFamilies']['theme'] = array();
30923086
}

0 commit comments

Comments
 (0)