WordPress.org

Make WordPress Core

Ticket #24539: 24539.at.diff

File 24539.at.diff, 523 bytes (added by DH-Shredder, 23 months ago)
  • wp-includes/class-wp-image-editor-imagick.php

    diff --git wp-includes/class-wp-image-editor-imagick.php wp-includes/class-wp-image-editor-imagick.php
    index 653eb8a..f5f36a4 100644
    class WP_Image_Editor_Imagick extends WP_Image_Editor { 
    9797                                return false; 
    9898 
    9999                try { 
    100                         return ( (bool) Imagick::queryFormats( $imagick_extension ) ); 
     100                        return ( (bool) @Imagick::queryFormats( $imagick_extension ) ); 
    101101                } 
    102102                catch ( Exception $e ) { 
    103103                        return false;