We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58839d5 commit 02cd05aCopy full SHA for 02cd05a
1 file changed
src/wp-includes/script-loader.php
@@ -3081,12 +3081,6 @@ function _wp_theme_json_webfonts_handler() {
3081
}
3082
3083
// 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
3090
if ( empty( $settings['typography']['fontFamilies']['theme'] ) ) {
3091
$settings['typography']['fontFamilies']['theme'] = array();
3092
0 commit comments