mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user