Add theme directory location hooks.

git-svn-id: https://develop.svn.wordpress.org/trunk@2292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-02-12 19:06:06 +00:00
parent 2857c03307
commit e5ba4f2302
2 changed files with 38 additions and 11 deletions

View File

@@ -96,17 +96,14 @@ function get_bloginfo($show='') {
$output = get_settings('siteurl') .'/xmlrpc.php';
break;
case 'stylesheet_url':
$output = get_stylesheet();
$output = get_settings('siteurl') . "/wp-content/themes/$output/style.css";
$output = get_stylesheet_uri();
break;
case 'stylesheet_directory':
$output = get_stylesheet();
$output = get_settings('siteurl') . "/wp-content/themes/$output";
$output = get_stylesheet_directory_uri();
break;
case 'template_directory':
case 'template_url':
$output = get_template();
$output = get_settings('siteurl') . "/wp-content/themes/$output";
$output = get_template_directory_uri();
break;
case 'admin_email':
$output = get_settings('admin_email');