Make WordPress Core

Ticket #34508: 34508.patch

File 34508.patch, 589 bytes (added by SergeyBiryukov, 9 years ago)
  • src/wp-admin/includes/class-wp-list-table.php

     
    937937         * @return string The name of the primary column.
    938938         */
    939939        protected function get_primary_column_name() {
    940                 $columns = $this->get_columns();
     940                $columns = get_column_headers( $this->screen );
    941941                $default = $this->get_default_primary_column_name();
    942942
    943943                // If the primary column doesn't exist fall back to the