WordPress.org

Make WordPress Core

Ticket #5398: theme.php.diff

File theme.php.diff, 557 bytes (added by andy, 7 years ago)
  • wp-includes/theme.php

     
    486486        if ( isset($mods[$name]) ) 
    487487                return apply_filters( "theme_mod_$name", $mods[$name] ); 
    488488 
    489         return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri()) ); 
     489        return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri(), get_stylesheet_directory_uri()) ); 
    490490} 
    491491 
    492492function set_theme_mod($name, $value) {