Ticket #26948: class-wp-posts-list-table.diff
File class-wp-posts-list-table.diff, 1022 bytes (added by , 11 years ago) |
---|
-
class-wp-posts-list-table.php
752 752 $hierarchical_taxonomies = array(); 753 753 $flat_taxonomies = array(); 754 754 foreach ( $taxonomy_names as $taxonomy_name ) { 755 $taxonomy = get_taxonomy( $taxonomy_name );756 755 757 if ( !$taxonomy->show_ui ) 758 continue; 756 $show_taxonomy = apply_filters( 'quick_edit_show_taxonomy', true, $taxonomy_name, $screen->post_type ); 759 757 760 if ( $taxonomy->hierarchical ) 761 $hierarchical_taxonomies[] = $taxonomy; 762 else 763 $flat_taxonomies[] = $taxonomy; 758 if( $show_taxonomy ) { 759 $taxonomy = get_taxonomy( $taxonomy_name ); 760 761 if ( !$taxonomy->show_ui ) 762 continue; 763 764 if ( $taxonomy->hierarchical ) 765 $hierarchical_taxonomies[] = $taxonomy; 766 else 767 $flat_taxonomies[] = $taxonomy; 768 } 764 769 } 765 770 766 771 $m = ( isset( $mode ) && 'excerpt' == $mode ) ? 'excerpt' : 'list';