WordPress.org

Make WordPress Core

Changeset 1121 in tests


Ignore:
Timestamp:
11/09/2012 03:40:07 PM (6 years 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.