Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Releases: Log1x/sage-password-protected

v1.0.1

18 Nov 07:50
509f44f
Compare
Choose a tag to compare

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 and COOKIE_DOMAIN WordPress constants when handling the cookie path and domain.
  • Remove the hardcoded assumption that $address will contain the key ip_address and instead collect()->filter()->pop() it allowing any array name or even a string without the need to typecheck.
  • Update README to reflect the config/filter changes.

v1.0.0

20 Oct 10:45
Compare
Choose a tag to compare

Initial release