Make WordPress Core


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

    r32524 r32545  
    17561756    global $_wp_post_type_features;
    17571757
    1758     if ( isset( $_wp_post_type_features[$post_type][$feature] ) )
    1759         unset( $_wp_post_type_features[$post_type][$feature] );
     1758    unset( $_wp_post_type_features[ $post_type ][ $feature ] );
    17601759}
    17611760
Note: See TracChangeset for help on using the changeset viewer.