Make WordPress Core

Changeset 29453


Ignore:
Timestamp:
08/09/2014 02:45:20 PM (10 years ago)
Author:
ocean90
Message:

WP_Plugins_List_Table::bulk_actions() method declaration should match WP_List_Table, see [29440].

props imath.
fixes #29148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r29371 r29453  
    109109            update_option( 'recently_activated', $recently_activated );
    110110        }
    111        
     111
    112112        $plugin_info = get_site_transient( 'update_plugins' );
    113113
     
    299299    }
    300300
    301     public function bulk_actions( $which ) {
     301    public function bulk_actions( $which = '' ) {
    302302        global $status;
    303303
     
    403403                        $actions['delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&amp;checked[]=' . $plugin_file . '&amp;plugin_status=' . $context . '&amp;paged=' . $page . '&amp;s=' . $s, 'bulk-plugins') . '" title="' . esc_attr__('Delete this plugin') . '" class="delete">' . __('Delete') . '</a>';
    404404                } // end if $is_active
    405                
     405
    406406             } // end if $screen->in_admin( 'network' )
    407407
Note: See TracChangeset for help on using the changeset viewer.