Ticket #32996: 32996.patch
File 32996.patch, 1.1 KB (added by , 10 years ago) |
---|
-
src/wp-admin/includes/class-wp-list-table.php
887 887 $columns = $this->get_columns(); 888 888 $default = $this->get_default_primary_column_name(); 889 889 890 // If the primary column doesn't exist fall back to the 891 // first non-checkbox column. 892 if ( ! isset( $columns[ $default ] ) ) { 893 $default = WP_List_Table::get_default_primary_column_name(); 894 } 895 890 896 /** 891 897 * Filter the name of the primary column for the current list table. 892 898 * -
src/wp-admin/includes/class-wp-posts-list-table.php
1069 1069 * @return string Name of the default primary column, in this case, 'title'. 1070 1070 */ 1071 1071 protected function get_default_primary_column_name() { 1072 return ( 'title' );1072 return 'title'; 1073 1073 } 1074 1074 1075 1075 /**