mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Remove unused global reference. props aaroncampbell. fixes #23541.
git-svn-id: https://develop.svn.wordpress.org/trunk@23458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -43,8 +43,6 @@ function get_blogaddress_by_id( $blog_id ) {
|
||||
* @return string
|
||||
*/
|
||||
function get_blogaddress_by_name( $blogname ) {
|
||||
global $current_site;
|
||||
|
||||
if ( is_subdomain_install() ) {
|
||||
if ( $blogname == 'main' )
|
||||
$blogname = 'www';
|
||||
|
||||
Reference in New Issue
Block a user