Migration to get_settings and away from globals.

git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-03-01 19:55:45 +00:00
parent 59155a15f3
commit e64b754d4a
27 changed files with 51 additions and 72 deletions
+1 -2
View File
@@ -22,7 +22,6 @@ function bloginfo_unicode($show='') {
}
function get_bloginfo($show='') {
global $admin_email;
$do_perma = 0;
$feed_url = get_settings('siteurl');
@@ -75,7 +74,7 @@ function get_bloginfo($show='') {
$output = get_settings('siteurl') .'/xmlrpc.php';
break;
case 'admin_email':
$output = $admin_email;
$output = get_settings('admin_email');
break;
case 'name':
default: