Make WordPress Core

Ticket #49781: 49781.diff

File 49781.diff, 1.6 KB (added by johnbillion, 4 years ago)
  • phpcs.xml.dist

    diff --git a/phpcs.xml.dist b/phpcs.xml.dist
    index af60e89e57..bab659334e 100644
    a b  
    111111        <exclude-pattern>/src/wp-admin/includes/deprecated\.php</exclude-pattern>
    112112        <exclude-pattern>/src/wp-admin/includes/ms-deprecated\.php</exclude-pattern>
    113113
     114        <!-- Drop-in plugins. -->
     115        <exclude-pattern>/src/wp-content/advanced-cache\.php</exclude-pattern>
     116        <exclude-pattern>/src/wp-content/blog-deleted\.php</exclude-pattern>
     117        <exclude-pattern>/src/wp-content/blog-inactive\.php</exclude-pattern>
     118        <exclude-pattern>/src/wp-content/blog-suspended\.php</exclude-pattern>
     119        <exclude-pattern>/src/wp-content/db-error\.php</exclude-pattern>
     120        <exclude-pattern>/src/wp-content/db\.php</exclude-pattern>
     121        <exclude-pattern>/src/wp-content/fatal-error-handler\.php</exclude-pattern>
     122        <exclude-pattern>/src/wp-content/install\.php</exclude-pattern>
     123        <exclude-pattern>/src/wp-content/maintenance\.php</exclude-pattern>
     124        <exclude-pattern>/src/wp-content/object-cache\.php</exclude-pattern>
     125        <exclude-pattern>/src/wp-content/php-error\.php</exclude-pattern>
     126        <exclude-pattern>/src/wp-content/sunrise\.php</exclude-pattern>
     127
     128        <!-- Must-Use plugins. -->
     129        <exclude-pattern>/src/wp-content/mu-plugins/*</exclude-pattern>
     130
     131        <!-- Plugins. -->
     132        <exclude-pattern>/src/wp-content/plugins/*</exclude-pattern>
     133
     134        <!-- Themes except the twenty* themes. -->
     135        <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
     136
    114137        <exclude-pattern>/src/wp-includes/atomlib\.php</exclude-pattern>
    115138        <exclude-pattern>/src/wp-includes/class-IXR\.php</exclude-pattern>
    116139        <exclude-pattern>/src/wp-includes/class-json\.php</exclude-pattern>