added home_url() instead of hostname

This commit is contained in:
Øyvind Bakkeli committed 2011-07-21 16:47:17 +02:00
1 parent e8d6190def
commit 25784501fd
1 file changed
+1 -1
+1 -1
View File
@@ -95,7 +95,7 @@ $j(function()
showUrlModal(window.location.origin + tmp[1]);
}
var modal_match = Array(/^http:\/\/<?php echo home_url() ?>\/.+/);
var modal_match = Array(/^http:\/\/<?php echo preg_quote(home_url()) ?>\/.+/);
var modal_not_match = Array(/wp-admin/);