Merge branch 'master' into grunt
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user