Make WordPress Core


Ignore:
Timestamp:
05/22/2015 05:46:47 AM (9 years ago)
Author:
wonderboymusic
Message:

When calling unset(), it is unnecessary to immediately precede it with a call to isset().

See #32444.

File:
1 edited

Legend:

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

    r31694 r32545  
    191191
    192192    // Remove the blob of binary data from the array.
    193     if ( isset( $metadata['image']['data'] ) )
    194         unset( $metadata['image']['data'] );
     193    unset( $metadata['image']['data'] );
    195194
    196195    /**
Note: See TracChangeset for help on using the changeset viewer.