Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#27702 closed defect (bug) (fixed)

Deprecate wpmu_current_site()

Reported by: jeremyfelt Owned by: nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.9
Component: Bootstrap/Load Keywords: has-patch
Focuses: multisite Cc:


The functionality from wpmu_current_site() was dispersed and refactored in [27359] via #27003, leaving it empty. This function was previously marked as private and used only for bootstrap purposes in core.

Any access of this private function may occur before we have access to deprecated functions, so it can move to the bottom of ms-load.php as get_current_site_name() did previously.

Attachments (1)

27702.diff (953 bytes) - added by jeremyfelt 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

This ticket was mentioned in IRC in #wordpress-dev by nacin. View the logs.

8 years ago

#2 @nacin
8 years ago

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

In 28009:

Formally deprecate wpmu_current_site().

props jeremyfelt.
fixes #27702.

Note: See TracTickets for help on using tickets.