summaryrefslogtreecommitdiffstats
path: root/wp-includes/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/theme.php')
-rw-r--r--wp-includes/theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/theme.php b/wp-includes/theme.php
index 2f2c1fb..7e45c54 100644
--- a/wp-includes/theme.php
+++ b/wp-includes/theme.php
@@ -441,9 +441,9 @@ function get_theme_mod($name, $default = false) {
$mods = get_option("mods_$theme");
if ( isset($mods[$name]) )
- return $mods[$name];
+ return apply_filters( "theme_mod_$name", $mods[$name] );
- return sprintf($default, get_template_directory_uri());
+ return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri()) );
}
function set_theme_mod($name, $value) {