Make WordPress Core

Changeset 862 in tests for trunk/wp-testcase/test_actions.php


Ignore:
Timestamp:
07/02/2012 05:57:04 PM (14 years ago)
Author:
nacin
Message:

Remove checkAtLeastPHPVersion() in favor of a once-off. Remove unused and dead knownMUBug. Update URL for knownPluginBug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testcase/test_actions.php

    r828 r862  
    241241
    242242    function test_action_closure() {
    243         $this->checkAtLeastPHPVersion('5.3');
     243        if ( version_compare( PHP_VERSION, '5.3', '<' ) )
     244            $this->markTestSkipped( 'Closures are a PHP 5.3 feature.' );
     245
    244246        $this->knownWPBug(10493);
    245247
Note: See TracChangeset for help on using the changeset viewer.