Make WordPress Core


Ignore:
Timestamp:
08/02/2013 04:42:08 AM (11 years ago)
Author:
markjaquith
Message:

Remove $pagenow global from three functions that don’t use it.

Props jeremyfelt. Fixes #24920.

File:
1 edited

Legend:

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

    r24048 r24974  
    3535 */
    3636function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
    37     global $self, $parent_file, $submenu_file, $plugin_page, $pagenow, $typenow;
     37    global $self, $parent_file, $submenu_file, $plugin_page, $typenow;
    3838
    3939    $first = true;
Note: See TracChangeset for help on using the changeset viewer.