Make WordPress Core

Changeset 53750


Ignore:
Timestamp:
07/21/2022 04:07:15 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Replace the old wp-db.php filename in phpcompat.xml.dist.

This ensures the correct file is allowlisted for use of mysql_ extension in PHP < 7.0.

Follow-up to [53749].

See #56268, #55647.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcompat.xml.dist

    r52179 r53750  
    8585    <!-- Whitelist the WP DB Class for use of `mysql_` extension in PHP < 7.0. -->
    8686    <rule ref="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved">
    87         <exclude-pattern>/src/wp-includes/wp-db\.php</exclude-pattern>
     87        <exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>
    8888    </rule>
    8989</ruleset>
Note: See TracChangeset for help on using the changeset viewer.