[wp-trac] [WordPress Trac] #32504: WP_Network_Query class

WordPress Trac noreply at wordpress.org
Wed Jul 13 05:29:03 UTC 2016


#32504: WP_Network_Query class
--------------------------------------+-------------------------
 Reporter:  jeremyfelt                |       Owner:  jeremyfelt
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Networks and Sites        |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+-------------------------

Comment (by jeremyfelt):

 In [changeset:"38042"]:
 {{{
 #!CommitTicketReference repository="" revision="38042"
 Multisite: Set default `$args` to an empty array in `get_networks()`.

 The empty string was not incorrect. Using `array()` here instead makes
 things a bit more consistent by aligning with `get_sites()`,
 `get_users()`, and `get_terms()`.

 See #32504.
 }}}

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


More information about the wp-trac mailing list