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
+22
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,27 @@ 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
+
12
+
## [2.1.1] - 2019-05-21
13
+
14
+
### Changed
15
+
- The `WordPress.WP.CapitalPDangit` will now ignore misspelled instances of `WordPress` within constant declarations.
16
+
This covers both constants declared using `defined()` as well as constants declared using the `const` keyword.
17
+
- 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-Coding-Standards/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 `4.9`.
18
+
19
+
### Removed
20
+
-`paginate_comments_links()` from the list of auto-escaped functions `Sniff::$autoEscapedFunctions`.
21
+
This affects the `WordPress.Security.EscapeOutput` sniff.
22
+
23
+
### Fixed
24
+
- The `$current_blog` and `$tag_ID` variables have been added to the list of WordPress global variables.
25
+
This fixes some false positives from the `WordPress.NamingConventions.PrefixAllGlobals` and the `WordPress.WP.GlobalVariablesOverride` sniffs.
26
+
- The generic `TestCase` class name has been added to the `$test_class_whitelist`.
27
+
This fixes some false positives from the `WordPress.NamingConventions.FileName`, `WordPress.NamingConventions.PrefixAllGlobals` and the `WordPress.WP.GlobalVariablesOverride` sniffs.
28
+
- The `WordPress.NamingConventions.ValidVariableName` sniff will now correctly recognize `$tag_ID` as a WordPress native, mixed-case variable.
29
+
- The `WordPress.Security.NonceVerification` sniff will now correctly recognize nonce verification within a nested closure or anonymous class.
30
+
31
+
11
32
## [2.1.0] - 2019-04-08
12
33
13
34
### Added
@@ -1070,6 +1091,7 @@ See the comparison for full list.
0 commit comments