Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Rolling back to after_setup_theme hook at the plugin startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
marksabbath authored and nathanrice committed Apr 16, 2019
1 parent 57e39f6 commit a9f9363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genesis-responsive-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

register_uninstall_hook( __FILE__, array( 'Genesis_Responsive_Slider', 'genesis_responsive_slider_plugin_uninstall' ) );

add_action( 'init', array( 'Genesis_Responsive_Slider', 'init' ), 15 );
add_action( 'after_setup_theme', array( 'Genesis_Responsive_Slider', 'init' ), 15 );

/** Include Admin file */
if ( is_admin() ) {
Expand Down

0 comments on commit a9f9363

Please sign in to comment.