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.
Built from https://develop.svn.wordpress.org/trunk@46216


git-svn-id: http://core.svn.wordpress.org/trunk@46028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-20 22:13:57 +00:00
parent fa9222cb17
commit ff38f6fb20
2 changed files with 1 additions and 6 deletions

View File

@ -83,11 +83,6 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
return false;
}
// HHVM Imagick does not support loading from URL, so fail to allow fallback to GD.
if ( defined( 'HHVM_VERSION' ) && isset( $args['path'] ) && preg_match( '|^https?://|', $args['path'] ) ) {
return false;
}
return true;
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-46215';
$wp_version = '5.3-alpha-46216';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.