Skip to content

Commit 1de618b

Browse files
Update core_loader.php
1 parent 53fb9d6 commit 1de618b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/core/core_loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function () {
174174
);
175175
$front_end = new Front_End();
176176
add_action( 'wp_enqueue_scripts', array( $front_end, 'enqueue_scripts' ) );
177-
add_action( 'init', array( $front_end, 'setup_theme' ) );
177+
add_action( 'after_setup_theme', array( $front_end, 'setup_theme' ) );
178178
add_action( 'widgets_init', array( $front_end, 'register_sidebars' ) );
179179
add_filter( 'load_script_translation_file', array( $front_end, 'fix_script_translation_files' ), 10, 3 );
180180
}

0 commit comments

Comments
 (0)