Make WordPress Core


Ignore:
Timestamp:
09/07/2015 07:27:34 AM (9 years ago)
Author:
pento
Message:

Tests: Add an extra warning message when checking the recommended PHP version.

See #33758.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/basic.php

    r33937 r33944  
    3838        preg_match_all( '#<tr class="stable">\s*<td>\s*<a [^>]*>\s*([0-9.]*)#s', $php, $phpmatches );
    3939
    40         $this->assertContains( $matches[1], $phpmatches[1] );
     40        $this->assertContains( $matches[1], $phpmatches[1], "readme.html's Recommended PHP version is too old. Remember to update the WordPress.org Requirements page, too." );
    4141    }
    4242
Note: See TracChangeset for help on using the changeset viewer.