Skip to:

Opened 4 years ago

Closed 4 years ago

#8284 closed defect (bug) (fixed)

Improve BP_Signup::get() function whitelisting the orderby argument

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 6.0.0 Priority: normal
Severity: normal Version: 2.0
Component: Registration Keywords: has-patch commit


Working on the BP REST API documentation made me see a task hasn't been completed since BP 2.0.0 : whitelisting the orderby argument. My bad :(.

It's about time to do it so that the BP REST API Signup endpoint can have improved collection parameters.

Attachments (1)

8284.patch (3.2 KB) - added by imath 4 years ago.

Download all attachments as: .zip

Change History (2)

4 years ago

#1 @imath
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 12635:

BP Signup: add a whitelist of available orderby arguments

The BP Signup::get() method orderby argument's possible values are : signup_id, login, email, registered and activated. The Default value remains signup_id.

Fixes #8284

Note: See TracTickets for help on using tickets.