[wp-trac] [WordPress Trac] #40902: meta_query compare NOT IN with an array of post meta does not work
    WordPress Trac 
    noreply at wordpress.org
       
    Thu Jun  1 21:59:32 UTC 2017
    
    
  
#40902: meta_query compare NOT IN with an array of post meta does not work
-------------------------------+------------------------------------------
 Reporter:  metaphorcreations  |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  4.7.5
 Severity:  normal             |  Resolution:  worksforme
 Keywords:                     |     Focuses:  administration, performance
-------------------------------+------------------------------------------
Changes (by adam3128):
 * status:  new => closed
 * resolution:   => worksforme
Comment:
 Hey metaphorcreations,
 I can't imagine this being a bug straight off the bat.
 Otto does a good job of explaining what you might be facing over at
 https://wordpress.stackexchange.com/questions/66056/filter-posts-with-
 meta-query-not-in-where-value-has-multiple-values
 In short, I'd probably check that you don't have multiple meta rows,
 change your value parameter to an array and check posts contain the meta
 field with a value.
 Hope this helps.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40902#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list