Make WordPress Core

Ticket #34599: 34599.diff

File 34599.diff, 363 bytes (added by skithund, 9 years ago)
  • image.php

    old new  
    194194        }
    195195
    196196        // Remove the blob of binary data from the array.
    197         unset( $metadata['image']['data'] );
     197        if ( isset( $metadata['image']['data'] ) )
     198                unset( $metadata['image']['data'] );
    198199
    199200        /**
    200201         * Filter the generated attachment meta data.