WordPress.org

Make WordPress Core

Changeset 12913


Ignore:
Timestamp:
01/31/2010 05:16:00 PM (8 years ago)
Author:
westi
Message:

Fix add_pages_page to use the correct parent menu. Fixes #12100.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin.php

    r12903 r12913  
    794794
    795795function add_pages_page( $page_title, $menu_title, $access_level, $file, $function = '' ) {
    796     return add_submenu_page( 'edit-pages.php', $page_title, $menu_title, $access_level, $file, $function );
     796    return add_submenu_page( 'edit.php?post_type=page', $page_title, $menu_title, $access_level, $file, $function );
    797797}
    798798
Note: See TracChangeset for help on using the changeset viewer.