[wp-trac] [WordPress Trac] #37932: Add annotations for extended `WP_Site` properties

WordPress Trac noreply at wordpress.org
Sat Sep 3 10:50:42 UTC 2016


#37932: Add annotations for extended `WP_Site` properties
--------------------------------+----------------------------------------
 Reporter:  ocean90             |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Future Release
Component:  Networks and Sites  |    Version:  4.6
 Severity:  normal              |   Keywords:  needs-patch good-first-bug
  Focuses:  multisite           |
--------------------------------+----------------------------------------
 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).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37932>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list