Make WordPress Core

Ticket #25229: wp-db.diff

File wp-db.diff, 701 bytes (added by natejacobs, 11 years ago)

wp-includes/wp-db.php

  • wp-includes/wp-db.php

     
    11801180        function query( $query ) {
    11811181                if ( ! $this->ready )
    11821182                        return false;
    1183 
    1184                 // some queries are made before the plugins have been loaded, and thus cannot be filtered with this method
     1183                /**
     1184                 * Change the MySQL database query.
     1185                 *
     1186                 * Some queries are made before the plugins have been loaded, and thus cannot be filtered with this method.
     1187                 *
     1188                 * @since 2.0.11
     1189                 *
     1190                 * @param string $query Database query.
     1191                 */
    11851192                $query = apply_filters( 'query', $query );
    11861193
    11871194                $return_val = 0;