3.0.1
版本发布时间: 2023-09-14 15:11:42
WordPress/WordPress-Coding-Standards最新发布版本:3.1.0(2024-03-26 00:44:32)
Added
- In WordPressCS 3.0.0, the functionality of the
WordPress.Security.EscapeOutput
sniff was updated to report unescaped message parameters passed to exceptions created inthrow
statements. This specific violation now has a separate error code:ExceptionNotEscaped
. This will allow users to ignore or exclude that specific error code. Props @anomiex. The error code(s) for other escaping issues flagged by the sniff remain unchanged.
Changed
- Updated the CI workflow to test the example ruleset for issues.
- Funding files and updates in the Readme about funding the project.
Fixed
- Fixed a sniff name in the
phpcs.xml.dist.sample
file (case-sensitive sniff name). Props @dawidurbanski.