Blockbase: move require social-navigation.php inside a check for WP_Theme_JSON_Resolver_Gutenberg to avoid errors. (#5654)
This commit is contained in:
parent
07bc404e73
commit
7b5de41f4f
1 changed files with 1 additions and 2 deletions
|
@ -156,10 +156,9 @@ if ( class_exists( 'WP_Theme_JSON_Resolver_Gutenberg' ) ) {
|
|||
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',
|
||||
|
|
Loading…
Reference in a new issue