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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,24 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
8
8
9
9
_No documentation available about unreleased changes as of yet._
10
10
11
+
## [2.3.0] - 2020-05-14
12
+
13
+
### Added
14
+
- 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.
15
+
Note: Translatable strings wrapped in `<a href..>` tags where the URL is intended to be localized will not trigger this check.
16
+
17
+
### Changed
18
+
- The default value for `minimum_supported_wp_version`, as used by a [number of sniffs detecting usage of deprecated WP features](https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#minimum-wp-version-to-check-for-usage-of-deprecated-functions-classes-and-function-parameters), has been updated to `5.1`.
19
+
- The `WordPress.WP.DeprecatedFunctions` sniff will now detect functions deprecated in WP 5.4.
20
+
- Improved grammar of an error message in the `WordPress.WP.DiscouragedFunctions` sniff.
21
+
- CI: The codebase is now - preliminary - being tested against the PHPCS 4.x development branch.
22
+
23
+
### Fixed
24
+
- 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.
25
+
-`WordPress.DB.PreparedSQL`: fixed a bug where the sniff would trigger on the namespace separator character `\\`.
26
+
-`WordPress.Security.EscapeOutput`: fixed a bug with the variable replacement in one of the error messages.
0 commit comments