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.
Added
The WordPress.WP.I18n sniff contains a new check for translatable text strings which are wrapped in HTML tags, like <h1>Translate me</h1>. Those tags should be moved out of the translatable string.
Note: Translatable strings wrapped in <a href..> tags where the URL is intended to be localized will not trigger this check.
The WordPress.WP.DeprecatedFunctions sniff will now detect functions deprecated in WP 5.4.
Improved grammar of an error message in the WordPress.WP.DiscouragedFunctions sniff.
CI: The codebase is now - preliminary - being tested against the PHPCS 4.x development branch.
Fixed
All function call detection sniffs: fixed a bug where constants with the same name as one of the targeted functions could inadvertently be recognized as if they were a called function.
WordPress.DB.PreparedSQL: fixed a bug where the sniff would trigger on the namespace separator character \\.
WordPress.Security.EscapeOutput: fixed a bug with the variable replacement in one of the error messages.