[wp-trac] [WordPress Trac] #37151: WP_Term_Query not honoring orderby meta_value_num

WordPress Trac noreply at wordpress.org
Sat Jun 25 14:31:10 UTC 2016


#37151: WP_Term_Query not honoring orderby meta_value_num
-------------------------------------+---------------------------
 Reporter:  littler.chicken          |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  4.6
Component:  Taxonomy                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------

Comment (by littler.chicken):

 Boone, thanks so much (and bonus points for making it look easy!). Tested
 your patch and it does correct the issue for me, in my scenario (sorting
 by term metadata/meta_value_num).

 Thank you!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37151#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list