[wp-trac] [WordPress Trac] #23033: Decimal and numeric options in meta_query do not produce correct MYSQL for floating point numbers comparisons

WordPress Trac noreply at wordpress.org
Tue Sep 17 20:48:47 UTC 2013


#23033: Decimal and numeric options in meta_query do not produce correct MYSQL for
floating point numbers comparisons
-------------------------------------------------+-------------------------
 Reporter:  ericlewis                            |       Owner:
     Type:  defect (bug)                         |  wonderboymusic
 Priority:  normal                               |      Status:  accepted
Component:  Query                                |   Milestone:  Future
 Severity:  normal                               |  Release
 Keywords:  has-patch needs-unit-tests needs-    |     Version:
  refresh                                        |  Resolution:
-------------------------------------------------+-------------------------

Comment (by ericlewis):

 In attachment:23033.unit-tests.diff, test for:

 * all comparison operators in a WP_Query object with various meta_query
 settings
 * test_get_cast_for_type() with all the possible meta types

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


More information about the wp-trac mailing list