[wp-trac] [WordPress Trac] #14511: new function - wp_get_sites($args)

WordPress Trac noreply at wordpress.org
Mon Sep 16 00:28:41 UTC 2013


#14511: new function - wp_get_sites($args)
-------------------------------------+------------------
 Reporter:  transom                  |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  3.7
Component:  Multisite                |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------

Comment (by jamescollins):

 Given that we have a {{{limit}}} parameter, I thought it would be useful
 to also add a {{{offset}}} parameter. This allows people to query the
 first 100 sites, then the second 100 sites if required.

 {{{14511_offset.diff​}}} implements this, including unit tests.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/14511#comment:39>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list