Ticket #25229: wp-db.diff
File wp-db.diff, 701 bytes (added by , 11 years ago) |
---|
-
wp-includes/wp-db.php
1180 1180 function query( $query ) { 1181 1181 if ( ! $this->ready ) 1182 1182 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 */ 1185 1192 $query = apply_filters( 'query', $query ); 1186 1193 1187 1194 $return_val = 0;