Skip to content

1.2.0

Compare
Choose a tag to compare
@IreneStr IreneStr released this 20 Jul 11:26

[1.2.0] - 2021-07-20

⚠️ This version drops support for PHP 5.2!

Changed

  • PHP 5.2 is no longer supported. The minimum supported PHP version for the WHIP library is now PHP 5.3. #96
  • The previous solution to prevent duplicate messages as included in v1.0.2 has been improved upon and made more stable. Props Drew Jaynes. #44
  • The Whip_InvalidOperatorType::__construct() method now has a second, optional $validOperators parameter. #62
    If this parameter is not passed, the default set of valid operators, as was used before, will be used.
  • Improved protection against XSS in localizable texts. #50
  • Improved support for translating localizable texts (I18n). #59
  • The distributed package will no longer contain development-related files. #45
  • General housekeeping.

Deprecated

  • The public Whip_WPMessagePresenter:register_hooks() method has been deprecated in favour of the new Whip_WPMessagePresenter:registerHooks(). #52, #107

Fixed

  • The text of the exception message thrown via the Whip_InvalidType exception was sometimes garbled. #61
  • Compatibility with PHP >= 7.4: prevent a deprecation notice from being thrown (fatal error on PHP 8.0). #88