WordPress.org

Make WordPress Core

Ticket #54425: 54425.diff

File 54425.diff, 725 bytes (added by desrosj, 2 months ago)
  • phpcompat.xml.dist

    diff --git a/phpcompat.xml.dist b/phpcompat.xml.dist
    index 47760305a9..fbc436cf0d 100644
    a b  
    4040        -->
    4141        <exclude-pattern>/vendor/*</exclude-pattern>
    4242
     43        <!-- Must-Use plugins. -->
     44        <exclude-pattern>/src/wp-content/mu-plugins/*</exclude-pattern>
     45
     46        <!-- Plugins. -->
     47        <exclude-pattern>/src/wp-content/plugins/*</exclude-pattern>
     48
     49        <!-- Themes except the twenty* themes. -->
     50        <exclude-pattern>/src/wp-content/themes/(?!twenty)*</exclude-pattern>
     51
    4352        <!--
    4453                PHPCompatibilityParagonieSodiumCompat prevents false positives in `sodium_compat`.
    4554                However, because these files are included in a non-standard path, false positives are triggered in WordPress Core.