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

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


#36724: who=>authors breaks meta arguments in user queries
--------------------------+-----------------------------
 Reporter:  Rarst         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using `who=>authors` in user query it silently overrides `meta_key`,
 `meta_value`, and `meta_compare` arguments.

 Among other things this makes it impossible to `orderby=>meta_value` such
 query, since it orders by that key.

 This behavior is neither explicitly documented or desirable.

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


More information about the wp-trac mailing list