[wp-trac] [WordPress Trac] #22967: Null value in meta query changes the type of comparison

WordPress Trac noreply at wordpress.org
Fri Nov 8 22:51:04 UTC 2013


#22967: Null value in meta query changes the type of comparison
----------------------------------------+-----------------------------
 Reporter:  bradyvercher                |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  3.8
Component:  Query                       |     Version:  3.5
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26053"]:
 {{{
 #!CommitTicketReference repository="" revision="26053"
 Respect the `compare` operator value in `meta_query` when `value`
 evaluates to `null`. Adds Unit Test.

 Props bradyvercher, gradyetc.
 Fixes #22967.
 }}}

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


More information about the wp-trac mailing list