Skip to content

Commit

Permalink
Init after global wp_scripts and wp_styles are available
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Dec 14, 2015
1 parent 81a30f8 commit 114b004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minit.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ protected function __construct() {

$this->plugin_file = __FILE__;

add_action( 'init', array( $this, 'init' ) );
add_action( 'admin_init', array( $this, 'admin_init' ) );
add_action( 'wp', array( $this, 'init' ) );
add_action( 'init', array( $this, 'admin_init' ) );

// This action can used to delete all Minit cache files from cron
add_action( 'minit-cache-purge-delete', array( $this, 'cache_delete' ) );
Expand Down

0 comments on commit 114b004

Please sign in to comment.