wp_delete_post() enhancement request
-
In the process of doing some basic remote data collection via online user entered forms … the form plugin provider is offering a builtin GDPR feature which is great but they choose to use WP’s builtin wp_delete_post() routine to provide this feature. Deleting POST, while being a cheap and dirty way to provide GDPR, leaves absolutely no trace of transactions and therefore no way to verify all data was captured.
Without getting in to design decisions, and the understanding that if a function exists, it will be used. As such, could WP possibly add an option to their builtin wp_delete_post(int $postid, bool $force_delete = false , optional bool $retain_audit_details) function where: Date, Time, and Post_ID are NOT deleted … this minimal information is invaluable for auditing transactions especially to ensure no transactions are mia
The plugin provider showed no interest in changing their GDPR logic so basically decided to switch off their GDPR feature and write a custom GDPR in php … with WP, the hope was to be able to go code free, the reality is, we have had to pay for plugins PLUS create 1000+ lines of custom php and java code.
- The topic ‘wp_delete_post() enhancement request’ is closed to new replies.