From 6492fe93187c79a9a8b0bce9fb006fb2f3aa75cc Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 27 Feb 2012 11:28:09 -0700 Subject: [PATCH] Fix #297 - wp-admin / login issue --- inc/roots-scripts.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/inc/roots-scripts.php b/inc/roots-scripts.php index 706d0c9..89c43c2 100644 --- a/inc/roots-scripts.php +++ b/inc/roots-scripts.php @@ -14,13 +14,9 @@ if (!is_admin()) { } function roots_print_scripts() { - if (!is_admin()) { - return; - } - global $wp_scripts; - if (!is_a($wp_scripts, 'WP_Scripts')) { + if (!isset($wp_scripts)) { return; }