[wp-trac] [WordPress Trac] #39879: wp_get_sites() with a false limit no longer returns all sites
WordPress Trac
noreply at wordpress.org
Mon Apr 3 23:43:03 UTC 2017
#39879: wp_get_sites() with a false limit no longer returns all sites
---------------------------------------------+------------------------
Reporter: iandunn | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.8
Component: Networks and Sites | Version: 4.6
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: multisite
---------------------------------------------+------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"40372"]:
{{{
#!CommitTicketReference repository="" revision="40372"
Multisite: Fix `wp_get_sites()` to return an unlimited amount of sites
when passing a falsy `limit` argument.
Props iandunn for the original patch.
Fixes #39879. See #35791.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39879#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list