Skip to content

Commit

Permalink
fix: shop page sidebar issue with latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Nov 22, 2024
1 parent 865d40d commit 3223127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/compatibility/web_stories.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private function should_load() {
* Load hooks.
*/
private function load_hooks() {
add_action( 'init', array( $this, 'setup' ) );
$this->setup();
add_action( 'wp_body_open', array( $this, 'embed' ) );
}

Expand Down
2 changes: 1 addition & 1 deletion inc/core/core_loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ function () {
}
);
$front_end = new Front_End();
$front_end->setup_theme();
add_action( 'wp_enqueue_scripts', array( $front_end, 'enqueue_scripts' ) );
add_action( 'init', array( $front_end, 'setup_theme' ) );
add_action( 'widgets_init', array( $front_end, 'register_sidebars' ) );
add_filter( 'load_script_translation_file', array( $front_end, 'fix_script_translation_files' ), 10, 3 );
}
Expand Down

0 comments on commit 3223127

Please sign in to comment.