Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#23258 closed enhancement (duplicate)

Pass array of role types to WP_User_Query

Reported by: helgatheviking Owned by:
Priority: normal Milestone:
Component: Users Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Right now the 'role' parameter only accepts a single string. If you want to query all the the "authors" and "contributors" (for example) you cannot do it with a single WP_User_Query.

Change History (3)

#1 @SergeyBiryukov
14 years ago

#23258 was marked as a duplicate.

#2 @SergeyBiryukov
14 years ago

  • Component General → Users
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Duplicate of #22212.

#3 @helgatheviking
14 years ago

Damn, I searched for WP_User_Query too and didn't see that.

Note: See TracTickets for help on using tickets.