Merge branch 'master' into grunt

This commit is contained in:
Ben Word
2013-03-04 21:59:38 -06:00
3 changed files with 320 additions and 1 deletions

View File

@@ -154,7 +154,7 @@ function roots_root_relative_url($input) {
}
function roots_enable_root_relative_urls() {
return !(is_admin() && in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'))) && current_theme_supports('root-relative-urls');
return !(is_admin() || in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'))) && current_theme_supports('root-relative-urls');
}
if (roots_enable_root_relative_urls()) {