WordPress.org

Make WordPress Core

Ticket #15386: ticket.15386.get_columns.diff

File ticket.15386.get_columns.diff, 634 bytes (added by ptahdunbar, 8 years ago)
  • wp-admin/includes/class-wp-list-table.php

     
    539539                if ( !isset( $this->_column_headers ) ) {
    540540                        $screen = get_current_screen();
    541541
    542                         $columns = get_column_headers( $screen );
     542                        $columns = apply_filters( 'manage_' . $screen->id . '_columns', $this->get_columns() );
    543543                        $hidden = get_hidden_columns( $screen );
    544544                        $sortable = apply_filters( "manage_{$screen->id}_sortable_columns", $this->get_sortable_columns() );
    545545