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:
parent
6a9d3c28b2
commit
52d0e40010
@ -143,7 +143,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
|||||||
* @param string $mime_type
|
* @param string $mime_type
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public static function supports_mime_type( $mime_type = null ) {
|
public static function supports_mime_type( $mime_type ) {
|
||||||
if ( ! $mime_type )
|
if ( ! $mime_type )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user