From bedaa14e70f2f356d5eb57b8b23626e011e27e61 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Sat, 27 Jul 2019 04:32:09 +0200
Subject: [PATCH] [src] Remove work-arounds for HHVM
---
src/wp-includes/class-wp-image-editor-imagick.php | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php
index eb5ee112fb..ddd0b5f6f1 100644
a
|
b
|
class WP_Image_Editor_Imagick extends WP_Image_Editor { |
83 | 83 | return false; |
84 | 84 | } |
85 | 85 | |
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 | | |
91 | 86 | return true; |
92 | 87 | } |
93 | 88 | |