Simple History 2.23 released with privacy/GDPR-related logging

Simple History 2.23 was recently released. This version adds logging of some of the new privacy and GDPR related functions that was added in WordPress 4.9.6.

Simple History can log the following:

– Privacy policy page is created or changed to a new page.
– Privacy data export is requested for a user and when this request is confirmed by the user and when the data for the request is downloaded by an admin or emailed to the user.
– Erase Personal Data: Request is added for user to have their personal data erased, user confirms the data removal and when the deletion of user data is done.

Also:
in version 2.22 (that I forgot to blog about) among other things IP addresses is anonymized by default and the logging of events in plugin Redirection is back again.

Changelog for 2.23

  • Add logging of privacy and GDPR related functions in WordPress. Some of the new privacy related features in WordPress 4.9.6 that are logged:
    • Privacy policy page is created or changed to a new page.
    • Privacy data export is requested for a user and when this request is confirmed by the user and when the data for the request is downloaded by an admin or emailed to the user.
    • Erase Personal Data: Request is added for user to have their personal data erased, user confirms the data removal and when the deletion of user data is done.
  • Fix error when categories changes was shown in the log. Fixes https://wordpress.org/support/topic/php-notice-undefined-variable-term_object/.
  • Fix error when a ACF Field Group was saved.
  • Fix error when the IP address anonymization function tried to anonymize an empty IP adress. Could happen when for example running wp cron locally on your server.
  • Fix error when calling the REST API with an API endpoint with a closure as the callback. Fixes https://github.com/bonny/WordPress-Simple-History/issues/141.
  • Rewrote logger loading method so now it’s possible to name your loggers in a WordPress codings standard compatible way. Also: made a bit more code more WordPress-ish.
  • The post types in the skip_posttypes filter are now also applied to deleted posts.
  • Add function sh_get_callable_name() that returns a human readable name for a callback.

Changelog for 2.22

  • IP addresses are now anonymized by default. This is mainly done because of the General Data Protection Regulation (GDPR)
    Both IPv4 and IPv6 addresses will be anonymized and the IP addresses are anonymized to their network ID.
    So for example the IPv4 address 192.168.123.124 is anonymized to 192.168.123.0 and
    the IPv6 address 2a03:2880:2110:df07:face:b00c::1 is anonymized by default to 2610:28:3090:3001::.

  • Added filter simple_history/privacy/anonymize_ip_address than can be used to disable ip address anonymization.

  • Added function sh_error_log() to easily log variables to the error log. Probably only of interest to developers.

  • Fixed logging for plugin Redirection. The logging of URL redirects and so on stopped working some while back because the Redirection plugin started using the WP REST API. But now it’s working again!

About Simple History

Simple History is an activity feed plugin for WordPress.

Archives