You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Glob patterns in checksum exclude lists — WPMAR_Check_Checksums::build_exclude_set() / is_excluded() now recognize entries containing *, ?, or [ as fnmatch() glob patterns (matched against the lowercased, normalized relative path), in addition to the existing exact-match and directory-prefix (/, /* suffix) forms. A pattern like wordfence:*/.htaccess excludes that repeating filename at any nesting depth in one line, instead of requiring one entry per directory. Falls back to a preg_match()-based equivalent (* → .*, ? → .) on environments without fnmatch().