[wp-trac] [WordPress Trac] #15340: meta_value needs needs more flexibility to be either a string or an integer

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 10 10:44:48 UTC 2010


#15340: meta_value needs needs more flexibility to be either a string or an integer
--------------------------------------+-------------------------------------
 Reporter:  jcskyrocket               |        Owner:           
     Type:  defect (bug)              |       Status:  closed   
 Priority:  normal                    |    Milestone:           
Component:  General                   |      Version:  3.0.1    
 Severity:  normal                    |   Resolution:  duplicate
 Keywords:  meta_compare, meta_value  |  
--------------------------------------+-------------------------------------

Comment(by scribu):

 > What is the correct way to use meta_value_num to force meta_compare to
 use integers? I was only able to use meta_value_num as a value for
 orderby.

 Yes, I think you're limited to sorting in WP 3.0.

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


More information about the wp-trac mailing list