WordPress.org

Make WordPress Core

Changeset 9967


Ignore:
Timestamp:
11/29/2008 06:09:09 PM (9 years ago)
Author:
ryan
Message:

Fix menu parents. see #8421

Location:
trunk/wp-admin
Files:
8 edited

Legend:

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

    r9914 r9967  
    6868if ( empty($title) )
    6969    $title = __('Edit Pages');
    70 $parent_file = 'edit.php';
     70$parent_file = 'edit-pages.php';
    7171wp_enqueue_script('inline-edit-post');
    7272
  • trunk/wp-admin/link-category.php

    r9032 r9967  
    6363case 'edit':
    6464    $title = __('Edit Category');
    65     $parent_file = 'edit.php';
     65    $parent_file = 'link-manager.php';
    6666    $submenu_file = 'edit-link-categories.php';
    6767    require_once ('admin-header.php');
  • trunk/wp-admin/link-import.php

    r9912 r9967  
    1111/** Load WordPress Administration Bootstrap */
    1212require_once('admin.php');
    13 $parent_file = 'edit.php';
     13$parent_file = 'tools.php';
     14$submenu_file = 'import.php';
    1415$title = __('Import Blogroll');
    1516
  • trunk/wp-admin/link-manager.php

    r9903 r9967  
    4242
    4343$title = __('Edit Links');
    44 $this_file = $parent_file = 'edit.php';
     44$this_file = $parent_file = 'link-manager.php';
    4545include_once ("./admin-header.php");
    4646
  • trunk/wp-admin/media-upload.php

    r9903 r9967  
    5454
    5555    $title = __('Upload New Media');
    56     $parent_file = 'edit.php';
     56    $parent_file = 'upload.php';
    5757    require_once('admin-header.php'); ?>
    5858    <div class="wrap">
  • trunk/wp-admin/update-core.php

    r9903 r9967  
    196196if ( 'upgrade-core' == $action ) {
    197197    $title = __('Upgrade WordPress');
    198     $parent_file = 'index.php';
     198    $parent_file = 'tools.php';
    199199    require_once('admin-header.php');
    200200    core_upgrade_preamble();
     
    203203    check_admin_referer('upgrade-core');
    204204    $title = __('Upgrade WordPress');
    205     $parent_file = 'index.php';
     205    $parent_file = 'tools.php';
    206206    // do the (un)dismiss actions before headers,
    207207    // so that they can redirect
  • trunk/wp-admin/update.php

    r9543 r9967  
    131131        check_admin_referer('upgrade-plugin_' . $plugin);
    132132        $title = __('Upgrade Plugin');
    133         $parent_file = 'index.php';
     133        $parent_file = 'plugins.php';
    134134        require_once('admin-header.php');
    135135        do_plugin_upgrade($plugin);
  • trunk/wp-admin/upload.php

    r9914 r9967  
    102102
    103103$title = __('Media Library');
    104 $parent_file = 'edit.php';
     104$parent_file = 'upload.php';
    105105
    106106if ( ! isset( $_GET['paged'] ) || $_GET['paged'] < 1 )
Note: See TracChangeset for help on using the changeset viewer.