Changeset 30029
- Timestamp:
- 10/26/2014 10:09:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/upgrade.php
r28500 r30029 53 53 } 54 54 55 $blogs = $wpdb->get_results( "SELECT *FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' AND spam = '0' AND deleted = '0' AND archived = '0' ORDER BY registered DESC LIMIT {$n}, 5", ARRAY_A );55 $blogs = $wpdb->get_results( "SELECT blog_id FROM {$wpdb->blogs} WHERE site_id = '{$wpdb->siteid}' AND spam = '0' AND deleted = '0' AND archived = '0' ORDER BY registered DESC LIMIT {$n}, 5", ARRAY_A ); 56 56 if ( empty( $blogs ) ) { 57 57 echo '<p>' . __( 'All done!' ) . '</p>';
Note: See TracChangeset
for help on using the changeset viewer.