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

v1.0.1

Latest
Compare
Choose a tag to compare
@Log1x Log1x released this 18 Nov 07:50
· 1 commit to master since this release
509f44f

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.