Make WordPress Core


Ignore:
Timestamp:
01/16/2015 09:18:52 PM (9 years ago)
Author:
wonderboymusic
Message:

Remove unused local vars in delete_plugins(), delete_theme(), WP_Date_Query->validate_date_values(), global_terms(), and WP_Text_Diff_Renderer_Table->_changed().

This will clear out the "Unused Code" label in the next Scrutinizer report.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r31188 r31217  
    18061806    } elseif ( $global_id != $term_id ) {
    18071807        $local_id = $wpdb->get_row( $wpdb->prepare( "SELECT term_id FROM $wpdb->terms WHERE term_id = %d", $global_id ) );
    1808         if ( null != $local_id )
    1809             $local_id = global_terms( $local_id );
    1810             if ( 10 < $global_terms_recurse )
     1808        if ( null != $local_id ) {
     1809            global_terms( $local_id );
     1810            if ( 10 < $global_terms_recurse ) {
    18111811                $global_id = $term_id;
     1812            }
     1813        }
    18121814    }
    18131815
Note: See TracChangeset for help on using the changeset viewer.