Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 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
Cc:

Description

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

Download all attachments as: .zip

Change History (2)

@imath
5 years ago

#1 @imath
5 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.