From 8966b24e0bddccfccd60abea0d80dae28a8e1cda Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 19 Dec 2007 17:47:06 +0000 Subject: [PATCH] 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 --- wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 5d2c9dae6e..5f288e6054 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -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) {