Make WordPress Core

Changeset 15268


Ignore:
Timestamp:
06/16/2010 08:08:58 PM (15 years ago)
Author:
nacin
Message:

Use add_query_arg() in menu_page_url(). fixes #13923.

File:
1 edited

Legend:

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

    r15235 r15268  
    11881188    if ( isset( $_parent_pages[$menu_slug] ) ) {
    11891189        if ( $_parent_pages[$menu_slug] ) {
    1190             $url = admin_url($_parent_pages[$menu_slug] . '?page=' . $menu_slug);
     1190            $url = admin_url( add_query_arg( 'page', $menu_slug, $_parent_pages[$menu_slug] ) );
    11911191        } else {
    11921192            $url = admin_url('admin.php?page=' . $menu_slug);
Note: See TracChangeset for help on using the changeset viewer.