Update dependency wp-coding-standards/wpcs to v2.3.0 #4721
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.1
->2.3.0
Release Notes
WordPress/WordPress-Coding-Standards
v2.3.0
Compare Source
Added
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.Changed
minimum_supported_wp_version
, as used by a number of sniffs detecting usage of deprecated WP features, has been updated to5.1
.WordPress.WP.DeprecatedFunctions
sniff will now detect functions deprecated in WP 5.4.WordPress.WP.DiscouragedFunctions
sniff.Fixed
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.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.