Permalink
Browse files

fixes #125 - http://wordpress.stackexchange.com/questions/12863/check…

  • Loading branch information...
1 parent b512745 commit 7bf90296e5d985ef7366195127d8e9c4f701c943 @retlehs retlehs committed Aug 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/roots-cleanup.php
@@ -55,7 +55,7 @@ function roots_fix_duplicate_subfolder_urls($input) {
}
$roots_options = roots_get_theme_options();
-if (!is_admin() && $roots_options['root_relative_urls']) {
+if (!is_admin() && !in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php')) && $roots_options['root_relative_urls']) {
add_filter('bloginfo_url', 'roots_root_relative_url');
add_filter('theme_root_uri', 'roots_root_relative_url');
add_filter('stylesheet_directory_uri', 'roots_root_relative_url');

0 comments on commit 7bf9029

Please sign in to comment.