WordPress.org

Make WordPress Core

#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:

Description

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 16 months ago.

Download all attachments as: .zip

Change History (3)

@jeremyfelt16 months ago

comment:1 @ircbot16 months ago

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

comment:2 @nacin16 months 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.