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.
The key has expired.
Changed
The WordPress.WP.CapitalPDangit will now ignore misspelled instances of WordPress within constant declarations.
This covers both constants declared using defined() as well as constants declared using the const keyword.
paginate_comments_links() from the list of auto-escaped functions Sniff::$autoEscapedFunctions.
This affects the WordPress.Security.EscapeOutput sniff.
Fixed
The $current_blog and $tag_ID variables have been added to the list of WordPress global variables.
This fixes some false positives from the WordPress.NamingConventions.PrefixAllGlobals and the WordPress.WP.GlobalVariablesOverride sniffs.
The generic TestCase class name has been added to the $test_class_whitelist.
This fixes some false positives from the WordPress.NamingConventions.FileName, WordPress.NamingConventions.PrefixAllGlobals and the WordPress.WP.GlobalVariablesOverride sniffs.
The WordPress.NamingConventions.ValidVariableName sniff will now correctly recognize $tag_ID as a WordPress native, mixed-case variable.
The WordPress.Security.NonceVerification sniff will now correctly recognize nonce verification within a nested closure or anonymous class.