Make WordPress Core

Changeset 22098


Ignore:
Timestamp:
10/02/2012 03:33:07 AM (12 years ago)
Author:
nacin
Message:

Don't declare the argument as optional for WP_Image_Editor_Imagick::supports_mime_type(), avoiding an error with inheritance. props SergeyBiryukov, fixes #22073.

File:
1 edited

Legend:

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

    r22094 r22098  
    144144     * @return boolean
    145145     */
    146     public static function supports_mime_type( $mime_type = null ) {
     146    public static function supports_mime_type( $mime_type ) {
    147147        if ( ! $mime_type )
    148148            return false;
Note: See TracChangeset for help on using the changeset viewer.