Make WordPress Core

Changeset 3337


Ignore:
Timestamp:
12/22/2005 03:06:04 AM (20 years ago)
Author:
ryan
Message:

plugin_page fix from Owen.

File:
1 edited

Legend:

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

    r3184 r3337  
    4646if (isset($_GET['page'])) {
    4747    $plugin_page = stripslashes($_GET['page']);
    48     $plugin_page = plugin_basename($_GET['page']);
     48    $plugin_page = plugin_basename($plugin_page);
    4949    $page_hook = get_plugin_page_hook($plugin_page, $pagenow);
    5050
Note: See TracChangeset for help on using the changeset viewer.