[wp-trac] [WordPress Trac] #40489: Add network ID parameter to wp_is_large_network()

WordPress Trac noreply at wordpress.org
Tue May 9 15:50:06 UTC 2017


#40489: Add network ID parameter to wp_is_large_network()
---------------------------------------------+------------------------
 Reporter:  flixos90                         |       Owner:  flixos90
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.8
Component:  Networks and Sites               |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  multisite
---------------------------------------------+------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"40590"]:
 {{{
 #!CommitTicketReference repository="" revision="40590"
 Multisite: Add `$network_id` parameter to `wp_is_large_network()`.

 Now that `get_blog_count()` and `get_user_count()` both support passing a
 `$network_id` parameter (see [40370] and [40371]), similar functionality
 is now available for `wp_is_large_network()`. In addition, the filter
 `wp_is_large_network` now accepts the network ID as its fourth parameter.

 This changeset furthermore introduces unit tests for the
 `wp_is_large_network()` function and its filter.

 Fixes #40489.
 }}}

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


More information about the wp-trac mailing list