Ticket #18785: 18785.7.diff
File 18785.7.diff, 511 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/screen.php
466 466 break; 467 467 } 468 468 } 469 469 470 // The post_type must be registed for the taxonomy. 471 if ( $taxonomy && $post_type ) { 472 if ( ! in_array( $taxonomy , get_object_taxonomies( $post_type ) ) ) 473 $post_type = ''; 474 } 475 470 476 switch ( $base ) { 471 477 case 'post' : 472 478 if ( ! $post_type )