WordPress.org

Make WordPress Core

Changeset 44561


Ignore:
Timestamp:
01/11/2019 04:59:23 AM (6 months ago)
Author:
pento
Message:

Coding Standards: template.php isn't a template tag file.

WordPress.Files.FileName.InvalidTemplateTagFileName shouldn't apply to it.

See #45934.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r44507 r44561  
    105105    </rule>
    106106
     107    <!-- WPCS1620: template.php isn't a template tag file. -->
     108    <rule ref="WordPress.Files.FileName.InvalidTemplateTagFileName">
     109        <exclude-pattern>/src/wp-includes/template\.php</exclude-pattern>
     110    </rule>
     111
    107112    <!-- Whitelist test classes for select sniffs. -->
    108113    <rule ref="WordPress.Files.FileName">
Note: See TracChangeset for help on using the changeset viewer.