Make WordPress Core

Opened 13 years ago

Closed 11 years ago

#25145 closed enhancement (fixed)

WP_User_Query should support pagination parameter like paged

Reported by: vinod dalvi Owned by: boonebgorges
Priority: normal Milestone: 4.4
Component: Users Version:
Severity: normal Keywords: good-first-bug has-patch
Cc: Focuses:

Description

WP_User_Query should support pagination parameter like paged in WP_Query class.

Attachments (1)

1.patch​ (1.0 KB ) - added by sebastian.pisula 11 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
13 years ago

  • Component Query → Users

Related: #23045

#2 @chriscct7
11 years ago

  • Keywords dev-feedback needs-patch added; 2nd-opinion removed

#3 @boonebgorges
11 years ago

  • Keywords good-first-bug added; dev-feedback removed
  • Milestone Awaiting Review → Future Release

+1

@sebastian.pisula
11 years ago

#4 @wonderboymusic
11 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone Future Release → 4.4
  • Owner set to boonebgorges
  • Status new → assigned

#5 @boonebgorges
11 years ago

  • Resolution → fixed
  • Status assigned → closed

In 34531:

Introduce 'paged' parameter for WP_User_Query.

This is an alternative to using 'offset', and manually calculating pagination.
Note that 'paged' works only in conjunction with 'number', the latter of which
provides the per-page value.

Props sebastian.pisula.
Fixes #25145.

Note: See TracTickets for help on using tickets.