Use stylesheet_url from bloginfo().
git-svn-id: https://develop.svn.wordpress.org/trunk@1639 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ddf9be9ef1
commit
d6463ce6a6
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user