Make WordPress Core

Changeset 46216


Ignore:
Timestamp:
09/20/2019 10:12:06 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Code Modernization: Remove a workaround for HHVM in WP_Image_Editor_Imagick::test().

Support for HHVM was dropped in 2017 via #40548.

Props jrf.
See #48074.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-image-editor-imagick.php

    r46202 r46216  
    8484        }
    8585
    86         // HHVM Imagick does not support loading from URL, so fail to allow fallback to GD.
    87         if ( defined( 'HHVM_VERSION' ) && isset( $args['path'] ) && preg_match( '|^https?://|', $args['path'] ) ) {
    88             return false;
    89         }
    90 
    9186        return true;
    9287    }
Note: See TracChangeset for help on using the changeset viewer.