Make WordPress Core


Ignore:
Timestamp:
01/16/2015 09:18:52 PM (10 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-admin/includes/theme.php

    r31188 r31217  
    6969        return new WP_Error( 'could_not_remove_theme', sprintf( __( 'Could not fully remove the theme %s.' ), $stylesheet ) );
    7070    }
    71 
    72     $translations_dir = $wp_filesystem->wp_lang_dir();
    73     $translations_dir = trailingslashit( $translations_dir );
    7471
    7572    $theme_translations = wp_get_installed_translations( 'themes' );
Note: See TracChangeset for help on using the changeset viewer.