Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: https://develop.svn.wordpress.org/trunk@2642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
125542ecab
commit
cd7cb0c110
|
@ -1408,7 +1408,7 @@ function get_stylesheet_directory() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_stylesheet_directory_uri() {
|
function get_stylesheet_directory_uri() {
|
||||||
$stylesheet = get_stylesheet();
|
$stylesheet = rawurlencode( get_stylesheet() );
|
||||||
$stylesheet_dir_uri = get_theme_root_uri() . "/$stylesheet";
|
$stylesheet_dir_uri = get_theme_root_uri() . "/$stylesheet";
|
||||||
return apply_filters('stylesheet_directory_uri', $stylesheet_dir_uri, $stylesheet);
|
return apply_filters('stylesheet_directory_uri', $stylesheet_dir_uri, $stylesheet);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue