WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#25145 closed enhancement (fixed)

WP_User_Query should support pagination parameter like paged

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

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 6 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
8 years ago

  • Component changed from Query to Users

Related: #23045

#2 @chriscct7
6 years ago

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

#3 @boonebgorges
6 years ago

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

+1

@sebastian.pisula
6 years ago

#4 @wonderboymusic
6 years ago

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

#5 @boonebgorges
6 years ago

  • Resolution set to fixed
  • Status changed from assigned to 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.