Changeset 56738 for trunk/tests/phpunit/tests/import/import.php
- Timestamp:
- 09/28/2023 12:02:47 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/import.php
r54402 r56738 29 29 // Crude but effective: make sure there's no residual data in the main tables. 30 30 foreach ( array( 'posts', 'postmeta', 'comments', 'terms', 'term_taxonomy', 'term_relationships', 'users', 'usermeta' ) as $table ) { 31 // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared32 31 $wpdb->query( "DELETE FROM {$wpdb->$table}" ); 33 32 }
Note: See TracChangeset
for help on using the changeset viewer.