This repository was archived by the owner on Jan 9, 2024. It is now read-only.
Releases: Log1x/sage-password-protected
Releases · Log1x/sage-password-protected
v1.0.1
Breaking Change
I felt passing a single string/boolean value to X different filters was a little excessive, so I moved configuration to a single filter, password_protected
, that accepts an array of config values that get merged with the defaults.
Otherwise, just some minor clean-up and future-proofing.
Changelog
- Remove existing filters migrating to a single configuration filter accepting an array of values.
- Use
COOKIEPATH
andCOOKIE_DOMAIN
WordPress constants when handling the cookie path and domain. - Remove the hardcoded assumption that
$address
will contain the keyip_address
and insteadcollect()->filter()->pop()
it allowing any array name or even a string without the need to typecheck. - Update README to reflect the config/filter changes.