Make WordPress Core

Changeset 29440


Ignore:
Timestamp:
08/07/2014 09:30:01 PM (11 years ago)
Author:
wonderboymusic
Message:

Mark WP_List_Table::bulk_actions()'s argument $which as optional for BC.

Fixes #29026.

File:
1 edited

Legend:

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

    r29433 r29440  
    346346     *
    347347     * @param string $which The location of the bulk actions: 'top' or 'bottom'.
    348      */
    349     protected function bulk_actions( $which ) {
     348     *                      This is designated as optional for backwards-compatibility.
     349     */
     350    protected function bulk_actions( $which = '' ) {
    350351        if ( is_null( $this->_actions ) ) {
    351352            $no_new_actions = $this->_actions = $this->get_bulk_actions();
Note: See TracChangeset for help on using the changeset viewer.