From 52d0e40010dc24a764585980efb9414d348d211b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 2 Oct 2012 03:33:07 +0000 Subject: [PATCH] Don't declare the argument as optional for WP_Image_Editor_Imagick::supports_mime_type(), avoiding an error with inheritance. props SergeyBiryukov, fixes #22073. git-svn-id: https://develop.svn.wordpress.org/trunk@22098 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-wp-image-editor-imagick.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-image-editor-imagick.php b/wp-includes/class-wp-image-editor-imagick.php index 6370a53c2a..3e35775e7e 100644 --- a/wp-includes/class-wp-image-editor-imagick.php +++ b/wp-includes/class-wp-image-editor-imagick.php @@ -143,7 +143,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor { * @param string $mime_type * @return boolean */ - public static function supports_mime_type( $mime_type = null ) { + public static function supports_mime_type( $mime_type ) { if ( ! $mime_type ) return false;