Tab highlight fix from skeltoac. fixes #1619
git-svn-id: https://develop.svn.wordpress.org/trunk@3164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a1ef8e762c
commit
8d5607f6f7
|
@ -23,7 +23,8 @@ $action = "delete";
|
|||
}
|
||||
|
||||
// Fix submenu highlighting for pages.
|
||||
if (false !== strpos($_SERVER['HTTP_REFERER'], 'edit-pages.php')) $submenu_file = 'page-new.php';
|
||||
if ( isset($_REQUEST['post']) && 'static' == get_post_status($_REQUEST['post']) )
|
||||
$submenu_file = 'page-new.php';
|
||||
|
||||
$editing = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue