WordPress.org

Make WordPress Core

Changeset 2362


Ignore:
Timestamp:
02/17/2005 04:05:45 PM (17 years ago)
Author:
rboren
Message:

Plugin option pages aren't displayed. http://mosquito.wordpress.org/view.php?id=902

File:
1 edited

Legend:

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

    r2279 r2362  
    4141
    4242if (file_exists(ABSPATH . "wp-content/plugins/{$item[2]}")) {
    43     $page_hook = get_plugin_page_hook($item[2], $parent_file);
    44     if ( $page_hook )
     43    $menu_hook = get_plugin_page_hook($item[2], $parent_file);
     44    if ( $menu_hook )
    4545        echo "\n\t<li><a href='" . get_settings('siteurl') . "/wp-admin/{$parent_file}?page={$item[2]}'$class>{$item[0]}</a></li>";     
    4646    else
Note: See TracChangeset for help on using the changeset viewer.