Make WordPress Core


Ignore:
Timestamp:
08/26/2023 01:01:05 PM (14 months ago)
Author:
johnbillion
Message:

Database: Remove support for the mysql extension.

The mysql extension is no longer used in PHP 7 or above. There's a good amount of conditional code in wpdb and the health checks that can be removed now that only the mysqli functions are used.

Fixes #59118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcompat.xml.dist

    r56141 r56475  
    8282        <exclude-pattern>/random_compat/random_bytes_mcrypt\.php$</exclude-pattern>
    8383    </rule>
    84 
    85     <!-- Allow the WP DB Class for use of `mysql_` extension in PHP < 7.0. -->
    86     <rule ref="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved">
    87         <exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>
    88     </rule>
    8984</ruleset>
Note: See TracChangeset for help on using the changeset viewer.