[wp-trac] [WordPress Trac] #21621: setting meta_type doesn't CAST orderby value

WordPress Trac noreply at wordpress.org
Thu Sep 5 23:31:30 UTC 2013


#21621: setting meta_type doesn't CAST orderby value
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  3.7
Component:  Query           |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"25269"]:
 {{{
 #!CommitTicketReference repository="" revision="25269"
 Move `get_meta_type()` into the `WP_Meta_Query` class as
 `get_cast_for_type()`. `WP_Query` can then access it like:
 `$this->meta_query->get_cast_for_type()`.

 See #21621, [25255].
 }}}

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


More information about the wp-trac mailing list