Make WordPress Core


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (18 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

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

    r4035 r4144  
    55
    66function get_stylesheet() {
    7     return apply_filters('stylesheet', get_settings('stylesheet'));
     7    return apply_filters('stylesheet', get_option('stylesheet'));
    88}
    99
     
    2727
    2828function get_template() {
    29     return apply_filters('template', get_settings('template'));
     29    return apply_filters('template', get_option('template'));
    3030}
    3131
     
    238238    $themes = get_themes();
    239239    $theme_names = array_keys($themes);
    240     $current_template = get_settings('template');
    241     $current_stylesheet = get_settings('stylesheet');
     240    $current_template = get_option('template');
     241    $current_stylesheet = get_option('stylesheet');
    242242    $current_theme = 'WordPress Default';
    243243
     
    260260
    261261function get_theme_root_uri() {
    262     return apply_filters('theme_root_uri', get_settings('siteurl') . "/wp-content/themes", get_settings('siteurl'));
     262    return apply_filters('theme_root_uri', get_option('siteurl') . "/wp-content/themes", get_option('siteurl'));
    263263}
    264264
Note: See TracChangeset for help on using the changeset viewer.