Make WordPress Core


Ignore:
Timestamp:
09/20/2019 10:01:36 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6.

Props jrf.
Fixes #48074.

File:
1 edited

Legend:

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

    r45607 r46214  
    483483     */
    484484    function test_strip_invalid_text( $data, $expected, $message ) {
    485         if ( version_compare( PHP_VERSION, '5.3', '<' ) && stristr( php_uname( 's' ), 'win' ) ) {
    486             $this->markTestSkipped( 'This test fails in PHP 5.2 on Windows. See https://core.trac.wordpress.org/ticket/31262' );
    487         }
    488 
    489485        $charset = self::$_wpdb->charset;
    490486        if ( isset( $data[0]['connection_charset'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.