Ticket #48985: edit-tags.php.patch
| File edit-tags.php.patch, 666 bytes (added by , 6 years ago) |
|---|
-
wp-admin/edit-tags.php
43 43 44 44 $title = $tax->labels->name; 45 45 46 if ( 'post' != $post_type ) {47 $parent_file = ( 'attachment' == $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type";46 if ( 'post' !== $post_type ) { 47 $parent_file = ( 'attachment' === $post_type ) ? 'upload.php' : "edit.php?post_type=$post_type"; 48 48 $submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type"; 49 49 } elseif ( 'link_category' == $tax->name ) { 50 50 $parent_file = 'link-manager.php';