WordPress.org

Make WordPress Core

Ticket #15018: wp-includes-classes-filter-end.patch

File wp-includes-classes-filter-end.patch, 443 bytes (added by sc0ttkclark, 8 years ago)

Moved filter to end (simplifying in the process)

  • wp-includes/classes.php

     
    643643                        unset($meta_compare_string);
    644644                }
    645645
    646                 return array( $join, $where );
     646                return apply_filters( 'get_meta_sql', array( $join, $where ), $meta_query, $primary_table, $primary_id_column, $meta_table, $meta_id_column );
    647647        }
    648648
    649649        /*