WordPress.org

Make WordPress Core

Ticket #22308: class-wp-image-editor-imagick.php.diff

File class-wp-image-editor-imagick.php.diff, 623 bytes (added by mpvanwinkle77, 6 years ago)
  • wp-includes/class-wp-image-editor-imagick.php

     
    150150                $imagick_extension = strtoupper( self::get_extension( $mime_type ) );
    151151
    152152                try {
    153                         return ( (bool) Imagick::queryFormats( $imagick_extension ) );
     153                        return ( (bool) $this->image->queryFormats( $imagick_extension ) );
    154154                }
    155155                catch ( Exception $e ) {
    156156                        return false;
     
    407407
    408408                return true;
    409409        }
    410 }
    411  No newline at end of file
     410}