Skip to content

Commit

Permalink
Blockbase: move require social-navigation.php inside a check for WP_T…
Browse files Browse the repository at this point in the history
…heme_JSON_Resolver_Gutenberg to avoid errors. (#5654)
  • Loading branch information
laurelfulford authored Mar 11, 2022
1 parent 07bc404 commit 7b5de41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blockbase/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,9 @@ function blockbase_fonts_url() {
require get_template_directory() . '/inc/customizer/wp-customize-colors.php';
require get_template_directory() . '/inc/customizer/wp-customize-color-palettes.php';
require get_template_directory() . '/inc/customizer/wp-customize-fonts.php';
require get_template_directory() . '/inc/social-navigation.php';
}

require get_template_directory() . '/inc/social-navigation.php';

// Force menus to reload
add_action(
'customize_controls_enqueue_scripts',
Expand Down

0 comments on commit 7b5de41

Please sign in to comment.