Not suited for bulk delete of terms
-
This is a good plugin to delete a few terms, but it uses the same code that the WordPress interfaces uses, so you can hardly call this a bulk delete.
The plugin uses the following code to delete,
$terms = get_terms( $data['post_taxonomy'], array( 'fields' => 'ids', 'hide_empty' => false ) ); foreach ( $terms as $value ) { wp_delete_term( $value, $data['post_taxonomy'] ); }
which is highly inefficient to bulk delete db content. It should really rely on direct SQL queries to do this.
Tested on a 20,000 terms sample and plugin crashed with fatal memory error after managing to delete only 1000+ terms.
I would be happy to test it again if this is fixed. I left a bug report in the support thread.
PS: I am given one more star for support, the developers are planning to fix this. I hope I can come back here and give a more positive review in the future.
- The topic ‘Not suited for bulk delete of terms’ is closed to new replies.