Make WordPress Core

Changeset 3164


Ignore:
Timestamp:
11/19/2005 07:20:33 PM (20 years ago)
Author:
ryan
Message:

Tab highlight fix from skeltoac. fixes #1619

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r3134 r3164  
    2323}
    2424
    25     // Fix submenu highlighting for pages.
    26 if (false !== strpos($_SERVER['HTTP_REFERER'], 'edit-pages.php')) $submenu_file = 'page-new.php';
     25// Fix submenu highlighting for pages.
     26if ( isset($_REQUEST['post']) && 'static' == get_post_status($_REQUEST['post']) )
     27    $submenu_file = 'page-new.php';
    2728
    2829$editing = true;
Note: See TracChangeset for help on using the changeset viewer.