Bulk edit products always run on any bulk action
-
After some testing and looking at the source code, it looks like the plugin does not check if the bulk action selected by user is the duplicate action. Hence it always run the duplicate function if any bulk action is performed.
In the
index.php
file:function wedb_handle_duplicate_product_bulk_action($redirect_to, $doaction, $post_ids) { // If action is requested is not duplicate product, bail early. if ($doaction !== 'wedp_duplicate_product') { return $redirect_to; } $duplicated = []; // ...
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Bulk edit products always run on any bulk action’ is closed to new replies.