Make WordPress Core

Changeset 28320


Ignore:
Timestamp:
05/06/2014 06:36:34 PM (12 years ago)
Author:
wonderboymusic
Message:

In WP_Image_Editor::get_output_format(), $file_mime and $file_ext are set twice before they are used.

See #27882.

File:
1 edited

Legend:

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

    r27794 r28320  
    271271         */
    272272        protected function get_output_format( $filename = null, $mime_type = null ) {
    273                 $new_ext = $file_ext = null;
    274                 $file_mime = null;
     273                $new_ext = null;
    275274
    276275                // By default, assume specified type takes priority
Note: See TracChangeset for help on using the changeset viewer.