Make WordPress Core


Ignore:
Timestamp:
11/15/2008 06:10:35 PM (17 years ago)
Author:
ryan
Message:

Unused var fixes. Props DD32. see #8220

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin-install.php

    r9700 r9716  
    2828 */
    2929function plugins_api($action, $args = null) {
    30     global $wp_version;
    3130
    3231    if( is_array($args) )
     
    248247 */
    249248function display_plugins_table($plugins, $page = 1, $totalpages = 1){
    250     global $tab;
    251 
    252249    $type = isset($_REQUEST['type']) ? stripslashes( $_REQUEST['type'] ) : '';
    253250    $term = isset($_REQUEST['s']) ? stripslashes( $_REQUEST['s'] ) : '';
     
    675672                            'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&amp;plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file) . '" title="' . __('Activate this plugin') . '" target="_parent">' . __('Activate Plugin') . '</a>',
    676673                            'plugins_page' => '<a href="' . admin_url('plugins.php') . '" title="' . __('Goto plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>'
    677                             ), $plugin_information, $plugin_file);
     674                            ), array(), $plugin_file);
    678675        if ( ! empty($install_actions) )
    679676            show_message('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));
Note: See TracChangeset for help on using the changeset viewer.