[wp-trac] [WordPress Trac] #23849: Unexpected results when running WP_User_Query with role and meta_query

WordPress Trac noreply at wordpress.org
Wed Oct 29 01:48:54 UTC 2014


#23849: Unexpected results when running WP_User_Query with role and meta_query
--------------------------+------------------
 Reporter:  layotte       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by kovshenin):

 In [attachment:23849.3.diff]: When looking whether a cap query is already
 present in the meta query, look into the parsed meta query, not just the
 meta_query query var. I said "query" six times.

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


More information about the wp-trac mailing list