Changeset 56066
- Timestamp:
- 06/27/2023 02:33:39 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wpdb.php
r55994 r56066 3138 3138 // Return an integer-keyed array of... 3139 3139 if ( $this->last_result ) { 3140 foreach ( (array) $this->last_result as $row) {3141 if ( ARRAY_N === $output) {3140 if ( ARRAY_N === $output ) { 3141 foreach ( (array) $this->last_result as $row ) { 3142 3142 // ...integer-keyed row arrays. 3143 3143 $new_array[] = array_values( get_object_vars( $row ) ); 3144 } else { 3144 } 3145 } else { 3146 foreach ( (array) $this->last_result as $row ) { 3145 3147 // ...column name-keyed row arrays. 3146 3148 $new_array[] = get_object_vars( $row );
Note: See TracChangeset
for help on using the changeset viewer.