Closed eri-trabiccolo closed 1 year ago
Hey @eri-trabiccolo,
I've added the WPDB delete query to delete the data which have a llms_order_note
comment_type. Let me know, if anything needs to be changed in the PR. Thanks!
@actuallyakash I think that the proposed PR doesn't remove the comments meta. See as reference, what WooCommerce does, we should do basically the same thing with our order notes. https://github.com/woocommerce/woocommerce/blob/012a8b4655d52ba5a18f6cb787b29a6fd50e73f0/plugins/woocommerce/uninstall.php#L73-L74
@eri-trabiccolo
Just pushed another commit. Thanks for your suggestions.
The queries are working fine, tested manually.
Reproduction Steps
define( 'LLMS_REMOVE_ALL_DATA', true );
to your wp-config.phpcomments
andcommentmeta
table in the db.Expected Behavior
llms_order_note
comment types and meta relative to those notes.Actual Behavior
llms_order_note
comment types and meta relative to those notes are still thereError Messages / Logs
n/a
System and Environment Information
LifterLMS 7.0.1
This issue has be recreated:
Browser, Device, and Operating System Information
n/a