Skip to content

Commit

Permalink
Use the getter method instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Dec 14, 2015
1 parent 3bd8943 commit fc48332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions include/minit-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ function __construct( $plugin ) {

$this->plugin = $plugin;

global $wp_styles;

parent::__construct( $wp_styles, 'css' );
parent::__construct( wp_styles(), 'css' );

}

Expand Down
4 changes: 1 addition & 3 deletions include/minit-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ function __construct( $plugin ) {

$this->plugin = $plugin;

global $wp_scripts;

parent::__construct( $wp_scripts, 'js' );
parent::__construct( wp_scripts(), 'js' );

}

Expand Down

0 comments on commit fc48332

Please sign in to comment.