[wp-trac] [WordPress Trac] #41797: max_num_pages for WP_User_Query

WordPress Trac noreply at wordpress.org
Mon Sep 4 22:19:58 UTC 2017


#41797: max_num_pages for WP_User_Query
-------------------------+-----------------------------
 Reporter:  birgire      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Query        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The {{{WP_User_Query}}} class supports pagination but doesn't have the
 public {{{max_num_pages}}} property, like most of the other query classes
 do.

 This can be useful when using e.g. {{{paginate_links()}}} and also for
 better consistency.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41797>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list