Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001

git-svn-id: https://develop.svn.wordpress.org/trunk@8301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-07-09 17:24:36 +00:00
parent 22635c32c2
commit 0fba0a6d4a
4 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ function get_theme_root() {
}
function get_theme_root_uri() {
return apply_filters('theme_root_uri', WP_CONTENT_URL . "/themes", get_option('siteurl'));
return apply_filters('theme_root_uri', content_url('themes'), get_option('siteurl'));
}
function get_query_template($type) {