Make WordPress Core


Ignore:
Timestamp:
04/04/2024 03:11:37 PM (12 months ago)
Author:
johnbillion
Message:

Database: Remove back-compat for database servers that don't support utf8mb4.

Since WordPress 6.5, the minimum supported version of MySQL and MariaDB is 5.5.5. This means all supported database servers now support the utf8mb4 character set and therefore the conditional logic for this is no longer necessary.

Props l1nuxjedi, craigfrancis, OllieJones, johnbillion

Fixes #60096

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/db/dbDelta.php

    r56971 r57926  
    427427        global $wpdb;
    428428
    429         if ( ! $wpdb->has_cap( 'utf8mb4' ) ) {
    430             $this->markTestSkipped( 'This test requires utf8mb4 support in MySQL.' );
    431         }
    432 
    433429        // This table needs to be actually created.
    434430        remove_filter( 'query', array( $this, '_create_temporary_tables' ) );
Note: See TracChangeset for help on using the changeset viewer.