WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/21/2013 06:41:52 PM (8 years ago)
Author:
nacin
Message:

3.5.2 - include [24495].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/3.5.2/wp-includes/wp-db.php

    r24460 r24496  
    11211121        $this->col_info    = null;
    11221122        $this->last_query  = null;
    1123         $this->rows_affected = $this->num_rows = $this->insert_id = 0;
     1123        $this->rows_affected = $this->num_rows = 0;
    11241124        $this->last_error  = '';
    11251125
     
    13031303        if ( ! in_array( strtoupper( $type ), array( 'REPLACE', 'INSERT' ) ) )
    13041304            return false;
     1305        $this->insert_id = 0;
    13051306        $formats = $format = (array) $format;
    13061307        $fields = array_keys( $data );
Note: See TracChangeset for help on using the changeset viewer.