Skip to content

Commit a5bcd3e

Browse files
authored
Make wp db clean get all the tables with prefix (#152)
Make wp db clean get all the tables with prefix
2 parents 0cce781 + 0c992e7 commit a5bcd3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function clean( $_, $assoc_args ) {
160160

161161
$tables = Utils\wp_get_table_names(
162162
array(),
163-
array( 'all-tables-with-prefix' )
163+
array( 'all-tables-with-prefix' => true )
164164
);
165165

166166
foreach ( $tables as $table ) {

0 commit comments

Comments
 (0)