Make WordPress Core

#25040 closed defect (bug) (fixed)

Better documentation on what get_current_site() gets you

Reported by: jeremyfelt Owned by: SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:


The current docblock in get_current_site() implies that one of the object properties returned is ID rather than id. It should also make reference to the function that sets these values in the first place to make it easier to follow.

Attachments (1)

25040.diff (526 bytes) - added by jeremyfelt 23 months ago.

Download all attachments as: .zip

Change History (3)

@jeremyfelt23 months ago

comment:1 @SergeyBiryukov23 months ago

  • Component changed from Multisite to Inline Docs

comment:2 @SergeyBiryukov22 months ago

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

In 25229:

Update phpdoc for get_current_site(). props jeremyfelt. fixes #25040.

Note: See TracTickets for help on using tickets.