Make WordPress Core


Ignore:
Timestamp:
05/22/2015 05:46:47 AM (11 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-includes/plugin.php

    r32116 r32545  
    333333    }
    334334
    335     if ( isset( $merged_filters[ $tag ] ) ) {
    336         unset( $merged_filters[ $tag ] );
    337     }
     335    unset( $merged_filters[ $tag ] );
    338336
    339337    return true;
Note: See TracChangeset for help on using the changeset viewer.