WordPress.org

Make WordPress Core

Changeset 1121 in tests


Ignore:
Timestamp:
11/09/12 15:40:07 (18 months ago)
Author:
SergeyBiryukov
Message:

Fix parse error in PHP 5.2. see [1120].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/image/functions.php

    r1120 r1121  
    233233        $classes = array('WP_Image_Editor_GD', 'WP_Image_Editor_Imagick'); 
    234234        foreach ( $classes as $class ) { 
    235             if ( !$class::test() ) { 
     235            if ( ! call_user_func( array( $class, 'test' ) ) ) { 
    236236                continue; 
    237237            } 
Note: See TracChangeset for help on using the changeset viewer.