WordPress Bug 902 feed icon

Everyone using plugins with WordPress 1.5 should read bug #902, and apply the patch.

Without this, the admin plugin hooks will break, and only allow you to manage the last-added plugin.

To fix this problem, edit wp-admin/menu-header.php. Find the section that looks like this (starting on line 43):

$page_hook = get_plugin_page_hook($item[2], $parent_file);
if ( $page_hook )

Change it to look like this:

$menu_hook = get_plugin_page_hook($item[2], $parent_file);
if ( $menu_hook )

  • Carina
    Should I do this, or is it already integrated in the install I downloaded Friday?
  • May 4th, 2005
  • May 10th, 2005
  • Ruby Sinreich
    Should I have to do this with WP 1.5.2? I don't think so but I am having trouble the options for yours and another plug in not displaying on http://indyweekblogs.com/scan Line 43-46 in my menu-header.php file looks like this: $menu_hook = get_plugin_page_hook($item[2], $parent_file); if (file_exists(ABSPATH . "wp-content/plugins/{$item[2]}") || ! empty($menu_hook)) {
  • skippy
    Ruby: WordPress 1.5.2 should not require this fix. What's the other plugin you're trying to use?
  • Ruby Sinreich
    OMG, I have a clue! (Alert the press...) Is it possible that I don't see the options because I am only a Level 8 user?
  • Ruby Sinreich
    Sorry, didn't see your response. The other plugin is Ryan's contact form. http://ryanduff.net/projects/wp-contactform/ As with yours, everything seems to be working, but I can't see the option tabs to configure it.
  • skippy
    Ruby: I think you figured it out. Most of my plugins assume user level 10. Feel free to adjust the user level checks in the code from 10 to 8, if that's the most expeditious solution.
  • Ruby Sinreich
    Cool. I know I'm able to access the Subscribe2 options on one of my other blogs when I'm only logged in as a 9. So I will see if I can get promoted (lowly consultant that I am).

About | Policies | skippy.net