-
The CSS naming convention used in Gutenberg doesn't meet the current WordPress CSS coding standards. Quoting from https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/
> Sim…
-
strpos and stripos also do not have to have sanitized variables, since they do not modify either (and its just useless to sanitize e.g. the HTTP_HOST when its only used in strpos)
Sniff::$unslashin…
-
Hi there,
I would love to see a config file that accomplishes all of the WordPress formatting standards: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/
T…
-
With coding standards implemented and linting on the way, it is to be considered if this library should apply all [WordPress coding standards](https://github.com/WordPress/WordPress-Coding-Standards).…
-
**Is your feature request related to a problem? Please describe.**
Currently the users are required to configure their standard manually, dealing with decisions that make it hard to go from `composer…
-
Split off from #744
`Expected next thing to be an escaping function (see Codex for 'Data Validation'), not 'get_bloginfo'` Escaping of [`bloginfo`](https://github.com/WordPress/WordPress/blob/4.7-b…
-
I've followed the direction to install the package globally (composer require + installation with "10up-code-review-install"), then ran `phpcs --standard=10up-Code-Review ./`, but I get this:
`ERRO…
-
Prettier has an official plugin to format PHP code which might be a good option: https://github.com/prettier/plugin-php
It has some considerations:
* We need to check if it does not conflict wit…
-
The XSS sniff that is currently a part of the standards is designed to enforce a philosophy of late escaping—everything should be escaped immediately before output. However, strict adherence to this i…
-
The [file that contains the PHP implementation of the block parser](https://github.com/WordPress/gutenberg/blob/98ae84a1bfa4b2c453a29ff71e5f184707df3ef1/packages/block-serialization-default-parser/par…