Bug? WPMU admin_footer hook
-
Hi there,
I think I have discovered a bug with admin hooks in WPMU 2.7.1
I wrote a plugin, which I want to run at the bottom of every admin page
add_action("admin_footer", 'testMyFooterPlugin',); function resetModeration() { echo "<script language='javascript' >\n"; echo "alert('footer plugin hook')"; }The plugin has been activated site-wide.
I have found strange behaviour. When I am logged in as administrator, the plugin fires.
When I am logged in as a new user with a new blog, the plugin does not fire.
If I log in as administrator, add admin to the new blog, log out, then log back in as the new user — the plugin fires.
It’s very strange. Is this a bug? Is there a reliable action that I can use as a hook on admin pages? I have tried admin_head and found the same behavior.
The topic ‘Bug? WPMU admin_footer hook’ is closed to new replies.