Coding Standards: `template.php` isn't a template tag file.
`WordPress.Files.FileName.InvalidTemplateTagFileName` shouldn't apply to it. See #45934. git-svn-id: https://develop.svn.wordpress.org/trunk@44561 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
65f5fcb0fb
commit
df771316d1
|
@ -104,6 +104,11 @@
|
||||||
<exclude-pattern>/wp-config-sample\.php</exclude-pattern>
|
<exclude-pattern>/wp-config-sample\.php</exclude-pattern>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
<!-- WPCS1620: template.php isn't a template tag file. -->
|
||||||
|
<rule ref="WordPress.Files.FileName.InvalidTemplateTagFileName">
|
||||||
|
<exclude-pattern>/src/wp-includes/template\.php</exclude-pattern>
|
||||||
|
</rule>
|
||||||
|
|
||||||
<!-- Whitelist test classes for select sniffs. -->
|
<!-- Whitelist test classes for select sniffs. -->
|
||||||
<rule ref="WordPress.Files.FileName">
|
<rule ref="WordPress.Files.FileName">
|
||||||
<properties>
|
<properties>
|
||||||
|
|
Loading…
Reference in New Issue