Skip to content

Commit

Permalink
Apply the suggestions from the review
Browse files Browse the repository at this point in the history
Co-authored-by: Juliette <[email protected]>
  • Loading branch information
dingo-d and jrfnl committed Sep 13, 2023
1 parent 64ed6c4 commit 0ac5658
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 0ac5658

Please sign in to comment.