Ticket #25408: 25408-list-table-headers-test.2.diff
| File 25408-list-table-headers-test.2.diff, 646 bytes (added by , 11 years ago) |
|---|
-
src/wp-admin/includes/class-wp-list-table.php
850 850 * @return array 851 851 */ 852 852 protected function get_column_info() { 853 if ( isset( $this->_column_headers ) )853 if ( isset( $this->_column_headers ) && is_array( $this->_column_headers ) && count( $this->_column_headers ) >= 4 ) { 854 854 return $this->_column_headers; 855 } 855 856 856 857 $columns = get_column_headers( $this->screen ); 857 858 $hidden = get_hidden_columns( $this->screen );