Ticket #15250: 15250.2.patch
| File 15250.2.patch, 785 bytes (added by sc0ttkclark, 2 years ago) |
|---|
-
wp-includes/taxonomy.php
520 520 * @param string $primary_id_column 521 521 * @return array 522 522 */ 523 function get_tax_sql( $tax_query, $primary_table, $primary_id_column ) {523 function get_tax_sql( $tax_query, $primary_table, $primary_id_column, $context = null ) { 524 524 global $wpdb; 525 525 526 526 $join = ''; … … 616 616 else 617 617 $where = ''; 618 618 619 return compact( 'join', 'where');619 return apply_filters_ref_array( 'get_tax_sql', array( compact( 'join', 'where' ), $tax_query, $primary_table, $primary_id_column, $context ) ); 620 620 } 621 621 622 622 function _transform_terms( &$terms, $taxonomies, $field, $resulting_field ) {
