Make WordPress Core

Changeset 1075 in tests for trunk/tests/image/functions.php


Ignore:
Timestamp:
10/05/2012 12:15:22 PM (14 years ago)
Author:
SergeyBiryukov
Message:

Fix parse errors in PHP 5.2. see [1061].

File:
1 edited

Legend:

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

    r1061 r1075  
    114114                       
    115115                        // If the image editor isn't available, skip it
    116                         if ( !$class::test() ) {
     116                        if ( ! call_user_func( array( $class, 'test' ) ) ) {
    117117                                continue;
    118118                        }
    … …  
    152152
    153153                        // If the image editor isn't available, skip it
    154                         if ( !$class::test() ) {
     154                        if ( ! call_user_func( array( $class, 'test' ) ) ) {
    155155                                continue;
    156156                        }
    … …  
    197197
    198198                        // If the image editor isn't available, skip it
    199                         if ( !$class::test() ) {
     199                        if ( ! call_user_func( array( $class, 'test' ) ) ) {
    200200                                continue;
    201201                        }
Note: See TracChangeset for help on using the changeset viewer.