Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#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 2 years ago.

Download all attachments as: .zip

Change History (3)

2 years ago

#1 @SergeyBiryukov
2 years ago

  • Component changed from Multisite to Inline Docs

#2 @SergeyBiryukov
2 years 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.