mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-29 01:34:27 +00:00
Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -333,11 +333,11 @@ function get_current_theme() {
|
||||
}
|
||||
|
||||
function get_theme_root() {
|
||||
return apply_filters('theme_root', ABSPATH . "wp-content/themes");
|
||||
return apply_filters('theme_root', WP_CONTENT_DIR . "/themes");
|
||||
}
|
||||
|
||||
function get_theme_root_uri() {
|
||||
return apply_filters('theme_root_uri', get_option('siteurl') . "/wp-content/themes", get_option('siteurl'));
|
||||
return apply_filters('theme_root_uri', WP_CONTENT_URL . "/themes", get_option('siteurl'));
|
||||
}
|
||||
|
||||
function get_query_template($type) {
|
||||
|
||||
Reference in New Issue
Block a user