[wp-trac] [WordPress Trac] #36724: who=>authors breaks meta arguments in user queries

WordPress Trac noreply at wordpress.org
Sat Apr 30 14:43:30 UTC 2016


#36724: who=>authors breaks meta arguments in user queries
-------------------------------------------------+-------------------------
 Reporter:  Rarst                                |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Users                                |  Review
 Severity:  normal                               |     Version:  trunk
 Keywords:  needs-patch needs-unit-tests good-   |  Resolution:
  first-bug                                      |     Focuses:
-------------------------------------------------+-------------------------
Changes (by boonebgorges):

 * keywords:   => needs-patch needs-unit-tests good-first-bug


Comment:

 Good call. It should be possible to rearrange this so that 'who' is added
 as a 'meta_query' clause instead of overriding 'meta_key' and
 'meta_value'. The `roles`/`role__in`/`role__not_in` params work this way.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36724#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list