Changeset 46155 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 09/17/2019 01:39:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r46096 r46155 1057 1057 $dupe_ids = $wpdb->get_col( $wpdb->prepare( "SELECT option_id FROM $wpdb->options WHERE option_name = %s LIMIT %d", $option->option_name, $limit ) ); 1058 1058 if ( $dupe_ids ) { 1059 $dupe_ids = join( $dupe_ids, ',');1059 $dupe_ids = join( ',', $dupe_ids ); 1060 1060 $wpdb->query( "DELETE FROM $wpdb->options WHERE option_id IN ($dupe_ids)" ); 1061 1061 }
Note: See TracChangeset
for help on using the changeset viewer.