diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-08-31 14:55:29 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-08-31 14:55:29 +0000 |
commit | b764f60728be1d4e026f9d7ae618ab47e23322f8 (patch) | |
tree | 1f1b45c4f1c1cf027b3240f605346e56209be8ff /wp-includes/theme.php | |
parent | dad010666b767a1d06588d1d09c771c62f67c387 (diff) | |
download | wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.tar.gz wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.tar.xz wordpress-mu-b764f60728be1d4e026f9d7ae618ab47e23322f8.zip |
WP Merge to rev #4147
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/theme.php')
-rw-r--r-- | wp-includes/theme.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 9130394..36f001d 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -4,7 +4,7 @@ */ function get_stylesheet() { - return apply_filters('stylesheet', get_settings('stylesheet')); + return apply_filters('stylesheet', get_option('stylesheet')); } function get_stylesheet_directory() { @@ -26,7 +26,7 @@ function get_stylesheet_uri() { } function get_template() { - return apply_filters('template', get_settings('template')); + return apply_filters('template', get_option('template')); } function get_template_directory() { @@ -237,8 +237,8 @@ function get_theme($theme) { function get_current_theme() { $themes = get_themes(); $theme_names = array_keys($themes); - $current_template = get_settings('template'); - $current_stylesheet = get_settings('stylesheet'); + $current_template = get_option('template'); + $current_stylesheet = get_option('stylesheet'); $current_theme = 'WordPress Default'; if ( $themes ) { @@ -259,7 +259,7 @@ function get_theme_root() { } function get_theme_root_uri() { - return apply_filters('theme_root_uri', get_settings('siteurl') . "/wp-content/themes", get_settings('siteurl')); + return apply_filters('theme_root_uri', get_option('siteurl') . "/wp-content/themes", get_option('siteurl')); } function get_query_template($type) { |