Ticket #21871: 21871.4.diff
| File 21871.4.diff, 774 bytes (added by , 14 years ago) |
|---|
-
wp-admin/includes/screen.php
475 475 $post_type = $post->post_type; 476 476 } 477 477 break; 478 case 'edit-tags' :479 if ( null === $post_type && is_object_in_taxonomy( 'post', $taxonomy ? $taxonomy : 'post_tag' ) )480 $post_type = 'post';481 break;482 478 } 483 479 } 484 480 … … 494 490 $id .= '-' . $post_type; 495 491 break; 496 492 case 'edit-tags' : 493 if ( null === $post_type && is_object_in_taxonomy( 'post', $taxonomy ? $taxonomy : 'post_tag' ) ) 494 $post_type = 'post'; 497 495 if ( null === $taxonomy ) 498 496 $taxonomy = 'post_tag'; 499 497 $id = 'edit-' . $taxonomy;