Ticket #21871: 21871-minimal.diff
| File 21871-minimal.diff, 646 bytes (added by , 14 years ago) |
|---|
-
wp-admin/includes/screen.php
496 496 case 'edit-tags' : 497 497 if ( null === $taxonomy ) 498 498 $taxonomy = 'post_tag'; 499 // The edit-tags ID does not contain the post type. Look for it in the request. 500 if ( null === $post_type ) { 501 $post_type = 'post'; 502 if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) 503 $post_type = $_REQUEST['post_type']; 504 } 505 499 506 $id = 'edit-' . $taxonomy; 500 507 break; 501 508 }