diff --git a/CHANGELOG.md b/CHANGELOG.md index c53c9d3ea2..4f5d2c5bc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,16 +12,17 @@ _No documentation available about unreleased changes as of yet._ ### Added -- Funding files and updates in the Readme about funding the project. +- In the WordPressCS v3.0.0, the functionality of the `WordPress.Security.EscapeOutput` sniff was changed to flag the unescaped parameters passed to exceptions in the `throw` statements. This sniff now has more modular error codes based on whether the error happened while checking the exceptions or while outputting unescaped content. The error code has only changed for the exceptions case (now `ExceptionNotEscaped`), and not the rest of the sniff (still `OutputNotEscaped`). This will enable the users to silence the error based on the error code if they need to. +- Props [@anomiex]. ### Changed -- The `WordPress.Security.EscapeOutput` sniff has more modular error codes, so that developers can ignore certain output escaping cases based on where the errors occur. Props [@anomiex]. - Updated the CI workflow to test the example ruleset for issues. +- Funding files and updates in the Readme about funding the project. ### Fixed -- Fixed the sniff name in the `phpcs.xml.dist.sample` file (case-sensitive sniff name). Props [@dawidurbanski]. +- Fixed a sniff name in the `phpcs.xml.dist.sample` file (case-sensitive sniff name). Props [@dawidurbanski]. ## [3.0.0] - 2023-08-21 @@ -1602,8 +1603,10 @@ Initial tagged release. [0.3.0]: https://github.com/WordPress/WordPress-Coding-Standards/compare/2013-10-06...0.3.0 [2013-10-06]: https://github.com/WordPress/WordPress-Coding-Standards/compare/2013-06-11...2013-10-06 +[@anomiex]: https://github.com/anomiex [@ckanitz]: https://github.com/ckanitz [@craigfrancis]: https://github.com/craigfrancis +[@dawidurbanski]: https://github.com/dawidurbanski [@desrosj]: https://github.com/desrosj [@grappler]: https://github.com/grappler [@Ipstenu]: https://github.com/Ipstenu @@ -1614,5 +1617,3 @@ Initial tagged release. [@NielsdeBlaauw]: https://github.com/NielsdeBlaauw [@slaFFik]: https://github.com/slaFFik [@sandeshjangam]: https://github.com/sandeshjangam -[@anomiex]: https://github.com/anomiex -[@dawidurbanski]: https://github.com/dawidurbanski