Skip to content

Releases: inpsyde/wp-context

v1.5.1

16 Oct 10:46
1350ada
Compare
Choose a tag to compare

What's Changed

  • Psalm suppress for RedundantCondition & MixedArgument by @lloc in #11

v1.5.0

09 Jan 09:15
1f61ccb
Compare
Choose a tag to compare

Changed

  • WordPress changed is_login_screen() to is_login()
  • In case is_login() is not available, use a 1:1 fallback for it

v1.4.0

14 Sep 12:41
1e30337
Compare
Choose a tag to compare

Added

  • Support for new (WP 6.1) is_login_screen() function

Changed

  • Refreshed QA workflow: updated dependencies, made use of reusable workflows. Test all PHP versions from 7.1 to 8.1.

v1.3.1

14 Sep 12:43
Compare
Choose a tag to compare

Fixed

  • REST request determined correctly when using 'rest_route' URL query var

v1.3.0

03 Aug 18:05
Compare
Choose a tag to compare

Added

  • WpContext::isWpActivate() / WpContext::WP_ACTIVATE to check for /wp-activate.php in multisite installations.

v1.2.0

03 Aug 18:02
Compare
Choose a tag to compare

Changed

  • WpContext class is not final anymore, but most of its methods are now final.

v1.1.1

10 Mar 06:53
Compare
Choose a tag to compare

Changed

  • Switch from roots/wordpress to johnpbloch/wordpress-core
  • Update Psalm
  • Improve PHPCS checks (fix testVersion, run for tests, check PSR-4)
  • Remove hook callbacks when not needed anymore

v1.1.0

19 Feb 15:43
Compare
Choose a tag to compare

Added

  • Tests for PHP 8.0

Changed

  • Improved early detection of login requests
  • Improved early detection of REST requests, adding support for sites without pretty permalinks
  • Improved CI

Fixed

  • Nothing

v1.0.0

11 Oct 18:46
Compare
Choose a tag to compare

First release