WordPress.org

Make WordPress Core

Changeset 36742


Ignore:
Timestamp:
02/26/2016 09:57:26 PM (3 years ago)
Author:
mikeschroder
Message:

Media: Correct "Exception" typo in WP_Image_Editor_Imagick::strip_meta().

Exceptions are caught better if they're not excpeted.

Props joemcgill.
See #33642.

File:
1 edited

Legend:

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

    r36700 r36742  
    691691                $this->image->setImageProperty( 'Thumb::Document::Pages', '' );
    692692            }
    693         } catch ( Excpetion $e ) {
     693        } catch ( Exception $e ) {
    694694            return new WP_Error( 'image_strip_meta_error', $e->getMessage() );
    695695        }
Note: See TracChangeset for help on using the changeset viewer.