Changeset 33734 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 08/25/2015 08:27:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r33718 r33734 841 841 $incompatible_modes = (array) apply_filters( 'incompatible_sql_modes', $this->incompatible_modes ); 842 842 843 foreach ( $modes as $i => $mode ) {843 foreach ( $modes as $i => $mode ) { 844 844 if ( in_array( $mode, $incompatible_modes ) ) { 845 845 unset( $modes[ $i ] ); … … 2250 2250 // Return an integer-keyed array of... 2251 2251 if ( $this->last_result ) { 2252 foreach ( (array) $this->last_result as $row ) {2252 foreach ( (array) $this->last_result as $row ) { 2253 2253 if ( $output == ARRAY_N ) { 2254 2254 // ...integer-keyed row arrays … … 2595 2595 2596 2596 // If any of the columns don't have one of these collations, it needs more sanity checking. 2597 foreach ( $this->col_meta[ $table ] as $col ) {2597 foreach ( $this->col_meta[ $table ] as $col ) { 2598 2598 if ( empty( $col->Collation ) ) { 2599 2599 continue; … … 2945 2945 $i = 0; 2946 2946 $new_array = array(); 2947 foreach ( (array) $this->col_info as $col ) {2947 foreach ( (array) $this->col_info as $col ) { 2948 2948 $new_array[$i] = $col->{$info_type}; 2949 2949 $i++;
Note: See TracChangeset
for help on using the changeset viewer.