WordPress.org

Make WordPress Core

Ticket #34148: 34148.patch

File 34148.patch, 556 bytes (added by tyxla, 5 years ago)

_WP_List_Table_Compat::get_column_info() - now supports the 4th primary column parameter

  • src/wp-admin/includes/list-table.php

     
    110110                $columns = get_column_headers( $this->_screen );
    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
    117118        /**