Skip to content

Commit

Permalink
Merge branch 'emzo-enqueue-admin-scripts' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Nov 3, 2015
2 parents d2f82f8 + 3327f3a commit 4cff296
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/class-satispress-admin-screen-manageplugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ public function ajax_toggle_plugin_status() {
* @param string $hook_suffix Screen hook id.
*/
public function enqueue_assets( $hook_suffix ) {
if ( $hook_suffix !== 'plugins.php' ) {
return;
}

wp_enqueue_script( 'satispress-admin' );
wp_enqueue_style( 'satispress-admin' );
}
Expand Down

0 comments on commit 4cff296

Please sign in to comment.