[wp-trac] [WordPress Trac] #21621: setting meta_type doesn't CAST orderby value
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 26 05:34:12 UTC 2012
#21621: setting meta_type doesn't CAST orderby value
----------------------------+------------------------------
Reporter: wonderboymusic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.2
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------------
Comment (by wonderboymusic):
meta_type already exists:
{{{
foreach ( array( 'key', 'compare', 'type' ) as $key ) {
if ( !empty( $qv[ "meta_$key" ] ) )
$meta_query[0][ $key ] = $qv[ "meta_$key" ];
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21621#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list