[wp-trac] [WordPress Trac] #41789: get_sites() returns an integer when 'count' is passed as a query var

WordPress Trac noreply at wordpress.org
Wed Oct 18 17:38:37 UTC 2017


#41789: get_sites() returns an integer when 'count' is passed as a query var
--------------------------------+------------------------------
 Reporter:  ocean90             |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.9
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  docs, multisite
--------------------------------+------------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41912"]:
 {{{
 #!CommitTicketReference repository="" revision="41912"
 Multisite: Document all return types in `get_sites()`.

 Adds more complete documentation to `get_sites()` and the corresponding
 methods in `WP_Site_Query`.

 Fixes #41789.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41789#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list