mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
fdebf7ba34
commit
40300b4632
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user