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-includes/general-template.php

    r32359 r32545  
    26692669        // Remove the format argument from the array of query arguments, to avoid overwriting custom format.
    26702670        foreach ( $format_args as $format_arg => $format_arg_value ) {
    2671             if ( isset( $url_query_args[ $format_arg ] ) ) {
    2672                 unset( $url_query_args[ $format_arg ] );
    2673             }
     2671            unset( $url_query_args[ $format_arg ] );
    26742672        }
    26752673
Note: See TracChangeset for help on using the changeset viewer.