Skip to content

Release v3.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:26

This release fixes how ! exclusions work in Paths and Actions, closes a verification bypass for action-based form protection, and makes the settings page report failed saves.

Fixes

  • Exclusions (!) in Paths, Actions, Inject Paths and Block User-Agents now take priority wherever they appear in the list. Before, they only worked when listed before the pattern they should override, and !* behaved like *.
  • Excluded actions on admin-ajax.php and admin-post.php were still verified when a Paths entry matched. This blocked AJAX logins, such as Wordfence Login Security, even with WP Login protection disabled. Excluded actions on these endpoints now always skip verification.
  • The settings page showed "Changes applied." even when saving failed, e.g. after the session expired. It now shows an error and asks you to reload the page.

Changes

  • The Bypass settings now state that users who can edit posts (Contributors and above) or manage options always bypass verification. The Logged-in Users option controls all other logged-in users, such as Subscribers or Customers.

Upgrade notes

  • Review pattern lists that put an exclusion after a broader pattern, e.g. /wp-admin/* followed by !/wp-admin/admin-ajax.php. The exclusion now applies, so matching requests are no longer verified.
  • Outside admin-ajax.php and admin-post.php, an action exclusion no longer cancels matches from name=value Actions patterns, because any visitor can add an action field to a request.
  • Clear any page cache or CDN cache after updating.