Add a get_stylesheet_dir to sprintf in get_theme_mod. Props andy. fixes #5398

git-svn-id: http://svn.automattic.com/wordpress/trunk@6410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-12-19 17:47:06 +00:00
parent fdebf7ba34
commit 40300b4632
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ function get_theme_mod($name, $default = false) {
if ( isset($mods[$name]) )
return apply_filters( "theme_mod_$name", $mods[$name] );
return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri()) );
return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri(), get_stylesheet_directory_uri()) );
}
function set_theme_mod($name, $value) {