From d6463ce6a619f0a34b23b9eb03047a60f118b1ef Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sun, 12 Sep 2004 20:30:49 +0000 Subject: [PATCH] Use stylesheet_url from bloginfo(). git-svn-id: https://develop.svn.wordpress.org/trunk@1639 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-general.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index 7c9f3efd5b..bc5d82972b 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -80,17 +80,17 @@ function get_bloginfo($show='') { case 'stylesheet_url': $output = get_settings('stylesheet');; if (empty($output) || $output == 'default') { - $output = get_settings('home') . "/wp-layout.css"; + $output = get_settings('siteurl') . "/wp-layout.css"; } else { - $output = get_settings('home') . "/wp-content/themes/$output/style.css"; + $output = get_settings('siteurl') . "/wp-content/themes/$output/style.css"; } break; case 'template_url': $output = get_settings('template');; if (empty($output) || $output == 'default') { - $output = get_settings('home'); + $output = get_settings('siteurl'); } else { - $output = get_settings('home') . "/wp-content/themes/$output"; + $output = get_settings('siteurl') . "/wp-content/themes/$output"; } break; case 'admin_email':