Encode stylesheet reference. Hit tip: Scott Yang

git-svn-id: http://svn.automattic.com/wordpress/trunk@2642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-06-15 18:49:47 +00:00
parent 06cc5c6677
commit ee3e50ff3d
1 changed files with 1 additions and 1 deletions

View File

@ -1408,7 +1408,7 @@ function get_stylesheet_directory() {
}
function get_stylesheet_directory_uri() {
$stylesheet = get_stylesheet();
$stylesheet = rawurlencode( get_stylesheet() );
$stylesheet_dir_uri = get_theme_root_uri() . "/$stylesheet";
return apply_filters('stylesheet_directory_uri', $stylesheet_dir_uri, $stylesheet);
}