Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37932 closed defect (bug) (fixed)

Add annotations for extended `WP_Site` properties

Reported by: ocean90 Owned by: ryanplas
Priority: normal Milestone: 4.7
Component: Networks and Sites Version: 4.6
Severity: normal Keywords: good-first-bug has-patch commit
Cc: Focuses: docs, multisite

Description

Since #36935 you can access blogname, siteurl, post_count and home via WP_Site. But none of those are annotated like $network_id or $id (https://core.trac.wordpress.org/browser/trunk/src/wp-includes/class-wp-site.php?rev=38369&marks=18-19#L10).

Attachments (1)

37932.patch​ (440 bytes ) - added by ryanplas 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @DrewAPicture
10 years ago

  • Focuses docs added

#2 @ryanplas
10 years ago

  • Keywords has-patch added; needs-patch removed

#3 @ocean90
10 years ago

  • Keywords commit added
  • Milestone Future Release → 4.7
  • Owner set to ryanplas
  • Status new → assigned

#4 @jeremyfelt
10 years ago

  • Resolution → fixed
  • Status assigned → closed

In 38630:

Multisite: Add annotations for extended WP_Site properties.

Props ryanplas.
Fixes #37932.

Note: See TracTickets for help on using tickets.