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: http://core.svn.wordpress.org/trunk@22098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2012-10-02 03:33:07 +00:00
parent 47d9b17ee1
commit 5acfb5564b

View File

@@ -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;