WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22212, comment 13


Ignore:
Timestamp:
03/24/2013 05:15:09 PM (5 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22212, comment 13

    initial v1  
    2222}}}
    2323
    24 OTOH, `'relation' => 'OR'` already doesn't work as expected when you pass any 'role' value.
     24OTOH, `'relation' => 'OR'` already doesn't work as expected when you pass any value to 'role'.
    2525
    2626Maybe use a separate WP_Meta_Query instance for querying the roles and definitely add tests for both of these corner cases.