Skip to content

Commit 97d6fbf

Browse files
authored
Changelog for WPCS 2.1.1 (#1707)
Changelog for WPCS 2.1.1 * Release date set at this **Tuesday May 21st**. * Includes all currently merged changes.
1 parent 4b5091b commit 97d6fbf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
88

99
_No documentation available about unreleased changes as of yet._
1010

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+
1132
## [2.1.0] - 2019-04-08
1233

1334
### Added
@@ -1070,6 +1091,7 @@ See the comparison for full list.
10701091
Initial tagged release.
10711092

10721093
[Unreleased]: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/master...HEAD
1094+
[2.1.1]: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/2.1.0...2.1.1
10731095
[2.1.0]: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/2.0.0...2.1.0
10741096
[2.0.0]: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/2.0.0-RC1...2.0.0
10751097
[2.0.0-RC1]: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/1.2.1...2.0.0-RC1

0 commit comments

Comments
 (0)