Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#35414 closed defect (bug) (fixed)

Fix get_current_site() docs

Reported by: ericlewis Owned by: johnbillion
Priority: normal Milestone: 4.5
Component: Networks and Sites Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses: docs, multisite

Description

The get_current_site() inline docs say that it returns the current site. It returns the current network.

Attachments (1)

35414.diff (511 bytes ) - added by ericlewis 11 years ago.

Download all attachments as: .zip

Change History (3)

@ericlewis
11 years ago

#1 @ericlewis
11 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review4.5
  • Version3.0

#2 @johnbillion
11 years ago

  • Owner set to johnbillion
  • Resolutionfixed
  • Status newclosed

In 36293:

Networks and Sites: Clarify the docblock for get_current_site() so it's clear that it returns the current network object, not anything to do with the current site. As a further exercise, the reader is invited to fix the nomenclature surrounding blogs, sites, and networks in WordPress.

Props ericlewis
Fixes #35414

Note: See TracTickets for help on using tickets.