WordPress.org

Make WordPress Core

Changeset 17041


Ignore:
Timestamp:
12/18/2010 04:48:20 PM (7 years ago)
Author:
ryan
Message:

Fix menu highlight for link category edit. Props duck_. fixes #15877

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r17014 r17041  
    2020    $parent_file = "edit.php?post_type=$post_type";
    2121    $submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type";
     22} else if ( 'link_category' == $tax->name ) {
     23    $parent_file = 'link-manager.php';
     24    $submenu_file = 'edit-tags.php?taxonomy=link_category';
    2225} else {
    2326    $parent_file = 'edit.php';
Note: See TracChangeset for help on using the changeset viewer.