Changeset 45607 for trunk/tests/phpunit/tests/import/import.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/import.php
r43571 r45607 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.InterpolatedNotPrepared 31 32 $wpdb->query( "DELETE FROM {$wpdb->$table}" ); 32 33 }
Note: See TracChangeset
for help on using the changeset viewer.