otacke / h5pxapikatchu

WordPress plugin to store xAPI statements emitted by H5P
MIT License
10 stars 6 forks source link

Deprecation notice on PrivacyPolicy::register_h5pxapikatchu_eraser() #16

Closed figureone closed 4 years ago

figureone commented 4 years ago

Aloha, we noticed the following warning when interacting with the Personal Data Erasure tool in WordPress. Probably just needs to be updated for the latest API: https://developer.wordpress.org/plugins/privacy/adding-the-personal-data-eraser-to-your-plugin/

Warning: Deprecated: Non-static method H5PXAPIKATCHU\PrivacyPolicy::register_h5pxapikatchu_eraser() should not be called statically in /var/www/html/wp-includes/class-wp-hook.php on line 287

Example: Screen Shot 2020-06-01 at 3 19 01 PM

otacke commented 4 years ago

@figureone Thanks for the hint. I wasn't aware of these changes. I'll have a look when I find some time.

otacke commented 4 years ago

@figureone Fixed. Will be part of next update.