Ticket #16190: default-category.patch
| File default-category.patch, 705 bytes (added by , 15 years ago) |
|---|
-
includes/class-wp-posts-list-table.php
212 212 if ( is_object_in_taxonomy( $post_type, 'category' ) ) { 213 213 $dropdown_options = array( 214 214 'show_option_all' => __( 'View all categories' ), 215 'hide_empty' => 0,216 'hierarchical' => 1,217 'show_count' => 0,218 'orderby' => 'name',219 'selected' =>$cat215 'hide_empty' => 0, 216 'hierarchical' => 1, 217 'show_count' => 0, 218 'orderby' => 'name', 219 'selected' => (int) $cat 220 220 ); 221 221 wp_dropdown_categories( $dropdown_options ); 222 222 }