[wp-hackers] page_hook bugfix
Owen Winkler
ringmaster at midnightcircus.com
Thu Feb 17 14:49:15 GMT 2005
Kimmo Suominen wrote:
> Hi!
>
> The global $page_hook is used in both wp-admin/admin.php and
> wp-admin/menu-header.php. The latter is called in between defining and
> referencing $page_hook in the former, which makes all option pages from
> plugins display the option page of the last plugin loaded.
>
> The patch below changes the global used in wp-admin/menu-header.php to
> $menu_hook.
>
> Regards,
> + Kim
Ouch. I was wondering why some of my plugin pages were suddenly not
working.
Kim's patch works. Please someone commit it.
I added the patch file to mosquito in a new bug, since I couldn't find
an existing one.
Owen
More information about the hackers
mailing list