WordPress.org

Make WordPress Core

Changeset 34897


Ignore:
Timestamp:
10/07/2015 03:11:52 AM (5 years ago)
Author:
wonderboymusic
Message:

List Tables: in _WP_List_Table_Compat::get_column_info(), also return $primary, which is expected since [33016].

Props tyxla.
Fixes #34148.

File:
1 edited

Legend:

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

    r34231 r34897  
    111111        $hidden = get_hidden_columns( $this->_screen );
    112112        $sortable = array();
     113        $primary = $this->get_default_primary_column_name();
    113114
    114         return array( $columns, $hidden, $sortable );
     115        return array( $columns, $hidden, $sortable, $primary );
    115116    }
    116117
Note: See TracChangeset for help on using the changeset viewer.