WordPress.org

Make WordPress Core

Ticket #2721: wp-db.2.diff

File wp-db.2.diff, 503 bytes (added by filosofo, 13 years ago)
  • wp-db.php

     
    131131        //      Basic Query     - see docs for more detail
    132132
    133133        function query($query) {
     134                if ( function_exists('apply_filters') ) $query = apply_filters('query',$query);
    134135                // initialise return
    135136                $return_val = 0;
    136137                $this->flush();
     
    364365}
    365366
    366367$wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);
    367 ?>
    368  No newline at end of file
     368?>