Changeset 49193 for trunk/src/wp-admin/includes/export.php
- Timestamp:
- 10/18/2020 05:25:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/export.php
r49183 r49193 535 535 // Fetch 20 posts at a time rather than loading the entire table into memory. 536 536 while ( $next_posts = array_splice( $post_ids, 0, 20 ) ) { 537 $where = 'WHERE ID IN (' . join( ',', $next_posts ) . ')';537 $where = 'WHERE ID IN (' . implode( ',', $next_posts ) . ')'; 538 538 $posts = $wpdb->get_results( "SELECT * FROM {$wpdb->posts} $where" ); 539 539
Note: See TracChangeset
for help on using the changeset viewer.