retlehs/roots — pull request #303 by rakeshtembhurne (2012-02-25 06:35:59+00:00)
Title: Login Issue #301 - quick fix 

The scene is, `is_admin()' function returns false on login page and on non-dashboard pages. There is a hook using (not)`is_admin()` condition to add theme related scripts. But the hook is not working on `wp-login.php` page as the global variable `$wp_scripts` used in the function is showing `null` on `wp-login.php` page. Except this one page, theme scripts are being added properly to non-admin pages properly.

This is a quick fix, I don't know if it is the best solution for this problem, but at least I could log-in to my live site with this.