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
This commit is contained in:
Andrew Nacin 2012-10-02 03:33:07 +00:00
parent 6a9d3c28b2
commit 52d0e40010
1 changed files with 1 additions and 1 deletions

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;