Ticket #25408: 25408-missing-array-indexes.diff
| File 25408-missing-array-indexes.diff, 811 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 ) ) { 854 while ( sizeof( $this->_column_headers ) < 4 ) { 855 if ( 3 === sizeof( $this->_column_headers ) ) { 856 $this->_column_headers[] = $this->get_primary_column_name(); 857 } else { 858 $this->_column_headers[] = array(); 859 } 860 } 854 861 return $this->_column_headers; 862 } 855 863 856 864 $columns = get_column_headers( $this->screen ); 857 865 $hidden = get_hidden_columns( $this->screen );