#16825 closed defect (bug) (fixed)
Conflict var name in _get_meta_sql
Reported by: | Rahe | Owned by: | |
---|---|---|---|
Milestone: | 3.1.1 | Priority: | normal |
Severity: | trivial | Version: | 3.1 |
Component: | Query | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Hi,
One of the parameters is overriden in this function ( $meta_type ) and is returned in the filter.
function _get_meta_sql( $meta_query, $meta_type, $primary_table, $primary_id_column, $context = null ) {
and overriden here :
$meta_type = isset( $q['type'] ) ? strtoupper( $q['type'] ) : 'CHAR';
This bug is blocker when you use the filter :
return apply_filters_ref_array( 'get_meta_sql', array( compact( 'join', 'where' ), $meta_query, $meta_type, $primary_table, $primary_id_column, &$context ) );
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Speedy fix