mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -162,7 +162,7 @@ case 'edit':
|
||||
$parent_file = "edit.php";
|
||||
$submenu_file = "edit.php";
|
||||
} else {
|
||||
if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true )
|
||||
if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true )
|
||||
$parent_file = $post_type_object->show_in_menu;
|
||||
else
|
||||
$parent_file = "edit.php?post_type=$post_type";
|
||||
|
||||
Reference in New Issue
Block a user