WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#23541 closed defect (bug) (fixed)

Remove unneeded global $current_site

Reported by: aaroncampbell Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords: has-patch
Focuses: Cc:

Description

It looks like [14703] removed all uses of $current_site from get_blogaddress_by_name() so we don't need the global anymore.

Attachments (1)

23541.diff (449 bytes) - added by aaroncampbell 8 years ago.

Download all attachments as: .zip

Change History (2)

@aaroncampbell
8 years ago

#1 @SergeyBiryukov
8 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 23458:

Remove unused global reference. props aaroncampbell. fixes #23541.

Note: See TracTickets for help on using tickets.