Ticket #20504: admin-bar-patch.diff
File admin-bar-patch.diff, 585 bytes (added by , 13 years ago) |
---|
-
wp-includes/admin-bar.php
426 426 && 'add' != $current_screen->action 427 427 && ( $post_type_object = get_post_type_object( $post->post_type ) ) 428 428 && current_user_can( $post_type_object->cap->read_post, $post->ID ) 429 && ( $post_type_object->public ) ) 429 && ( $post_type_object->public ) 430 && ( $post_type_object->show_in_admin_bar ) ) 430 431 { 431 432 $wp_admin_bar->add_menu( array( 432 433 'id' => 'view',