Simple History version 2.29 adds PHP 7.3 compatiblity, and more

Changelog for this release

2.29 (DECEMBER 2018)

  • Make log welcome message translateable.
  • Add two filters to make it more ease to control via filters if a logger and the combination logger + message should be logged.
    1. “simple_history/log/do_log/{$this->slug}” controls if any messages for a specific logger should be logged. Simply return false to this filter to disable all logging to that logger.
    2. “simple_history/log/do_log/{$this->slug}/{$message_key}” controls if a specific message for a specific logger should be logged. Simply return false to this filter to disable all logging to that logger.

    Code examples for the two filters above:

// Disable logging of any user message, i.e. any message from the logger SimpleUserLogger.
add_filter( ‘simple_history/log/do_log/SimpleUserLogger’, ‘__return_false’ );

// Disable logging of updated posts, i.e. the message “post_updated” from the logger SimplePostLogger.
add_filter( ‘simple_history/log/do_log/SimplePostLogger/post_updated’, ‘__return_false’ );
  • Fix notice in Redirection plugin logger due because redirection plugin can have multiple target types. Props @MaximVanhove.
  • Fix warning because of missing logging messages in the categories/tags logger. Props @JeroenSormani.
  • Fix warning in the next version of PHP, PHP 7.3.