WordPress.org

Make WordPress Core

Changeset 22421


Ignore:
Timestamp:
11/07/2012 05:50:38 PM (7 years ago)
Author:
ryan
Message:

Call Imagick::queryformats() non-statically to preserve back compat with older versions of Imagick.

Props mpvanwinkle77
fixes #22308
see #6821

File:
1 edited

Legend:

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

    r22119 r22421  
    151151
    152152        try {
    153             return ( (bool) Imagick::queryFormats( $imagick_extension ) );
     153            return ( (bool) $this->image->queryFormats( $imagick_extension ) );
    154154        }
    155155        catch ( Exception $e ) {
Note: See TracChangeset for help on using the changeset viewer.