WordPress.org

Make WordPress Core

Changeset 24568


Ignore:
Timestamp:
07/05/2013 06:43:45 PM (8 years ago)
Author:
markjaquith
Message:

@-silence an Imagick call that causes a warning in PHP 5.4.

props DH-Shredder. fixes #24539.

File:
1 edited

Legend:

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

    r24055 r24568  
    9898
    9999        try {
    100             return ( (bool) Imagick::queryFormats( $imagick_extension ) );
     100            return ( (bool) @Imagick::queryFormats( $imagick_extension ) );
    101101        }
    102102        catch ( Exception $e ) {
Note: See TracChangeset for help on using the changeset viewer.