Make WordPress Core


Ignore:
Timestamp:
12/19/2007 05:47:06 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r6364 r6410  
    486486        return apply_filters( "theme_mod_$name", $mods[$name] );
    487487
    488     return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri()) );
     488    return apply_filters( "theme_mod_$name", sprintf($default, get_template_directory_uri(), get_stylesheet_directory_uri()) );
    489489}
    490490
Note: See TracChangeset for help on using the changeset viewer.