Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe

git-svn-id: https://develop.svn.wordpress.org/trunk@2401 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-03-02 16:30:00 +00:00
parent 8eb5fc62f0
commit 16afe16dbe
2 changed files with 7 additions and 2 deletions
+3
View File
@@ -22,6 +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';
switch($action) {
case 'post':