Make WordPress Core

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

File wp-includes-classes-filter.patch, 556 bytes (added by sc0ttkclark, 14 years ago)

Updated to reflect new name / location of function in 3.1

  • wp-includes/classes.php

     
    583583        function get_meta_sql( $meta_query, $primary_table, $primary_id_column, $meta_table, $meta_id_column ) {
    584584                global $wpdb;
    585585
     586                $check = apply_filters( 'get_meta_sql', null, $meta_query, $primary_table, $primary_id_column, $meta_table, $meta_id_column );
     587                if ( null !== $check )
     588                        return $check;
     589
    586590                $clauses = array();
    587591
    588592                $join = '';