Changeset 6410

Show
Ignore:
Timestamp:
12/19/07 17:47:06 (9 months ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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