Ticket #9674: changes.diff
File changes.diff, 1.0 KB (added by , 15 years ago) |
---|
-
edit-tags.php
21 21 22 22 $title = $tax->label; 23 23 24 if ( empty($post_type) || !in_array( $post_type, get_post_types( array(' show_ui' => true) ) ) )24 if ( empty($post_type) || !in_array( $post_type, get_post_types( array('public' => true) ) ) ) 25 25 $post_type = 'post'; 26 26 27 27 if ( 'post' != $post_type ) { -
includes/template.php
3691 3691 $columns = array('dashboard' => 4, 'post' => 2, 'page' => 2, 'link' => 2); 3692 3692 3693 3693 // Add custom post types 3694 foreach ( get_post_types( array(' show_ui' => true) ) as $post_type )3694 foreach ( get_post_types( array('public' => true) ) as $post_type ) 3695 3695 $columns[$post_type] = 2; 3696 3696 3697 3697 $columns = apply_filters('screen_layout_columns', $columns, $screen->id, $screen);