[wp-trac] [WordPress Trac] #28631: WP_User_Query should support -1 for the number parameter

WordPress Trac noreply at wordpress.org
Sun Aug 31 18:50:49 UTC 2014


#28631: WP_User_Query should support -1 for the number parameter
----------------------------------------+-----------------------------
 Reporter:  mordauk                     |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Users                       |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by mordauk):

 [https://core.trac.wordpress.org/attachment/ticket/28631/28631-2.diff
 28631-2.diff] is a refreshed patch for the `/src/` directory.

 [https://core.trac.wordpress.org/attachment/ticket/28631/28631-tests-2.diff
 28631-tests-2.diff] adds an additional test that checks for proper counts
 when passing the `number` parameter as `12`, `10`, and `-1`.

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


More information about the wp-trac mailing list