Releases: inpsyde/wp-context
Releases · inpsyde/wp-context
v1.5.1
What's Changed
- Psalm suppress for RedundantCondition & MixedArgument by @lloc in #11
v1.5.0
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
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
Fixed
- REST request determined correctly when using 'rest_route' URL query var
v1.3.0
Added
WpContext::isWpActivate()
/ WpContext::WP_ACTIVATE
to check for /wp-activate.php
in multisite installations.
v1.2.0
Changed
WpContext
class is not final
anymore, but most of its methods are now final
.
v1.1.1
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
Added
Changed
- Improved early detection of login requests
- Improved early detection of REST requests, adding support for sites without pretty permalinks
- Improved CI
Fixed