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

git-svn-id: https://develop.svn.wordpress.org/trunk@6410 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-12-19 17:47:06 +00:00
parent e715ba1cd0
commit 8966b24e0b

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) {