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
@ -22,8 +22,9 @@ if (isset($_POST['deletepost'])) {
|
||||
$action = "delete";
|
||||
}
|
||||
|
||||
// Fix submenu highlighting for pages.
|
||||
if (false !== strpos($_SERVER['HTTP_REFERER'], 'edit-pages.php')) $submenu_file = 'page-new.php';
|
||||
// Fix submenu highlighting for pages.
|
||||
if ( isset($_REQUEST['post']) && 'static' == get_post_status($_REQUEST['post']) )
|
||||
$submenu_file = 'page-new.php';
|
||||
|
||||
$editing = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user