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

WordPress Trac noreply at wordpress.org
Wed Apr 24 00:42:12 UTC 2013


#23849: Unexpected results when running WP_User_Query with role and meta_query
--------------------------+------------------------------
 Reporter:  layotte       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by sillybean):

 My example is bad; first_name and last_name rows always exist, even if
 they're empty. However, the problem is the same with two custom meta
 fields (phone and twitter): all users are returned, even those who have
 filled out one or both fields.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23849#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list