[wp-trac] [WordPress Trac] #18699: admin_head-(plugin_page) with "noheader"
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 18 18:49:15 UTC 2011
#18699: admin_head-(plugin_page) with "noheader"
--------------------------+-----------------------------
Reporter: shauno | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.2.1
Severity: minor | Keywords:
--------------------------+-----------------------------
I'm busy writing a plugin, and came across the following behaviour:
As per codex page
http://codex.wordpress.org/Plugin_API/Action_Reference/admin_head-%28plugin_page%29
you can hook into the page `<head>` tag for your plugin page.
If the plugin submits to itself, with the GET variable noheader, and then
manually includes `wp-admin/admin-header.php`, the hook doesn't appear to
run.
I can't seem to find any official documentation on `noheader`, but the
method I am using is described all over the internet.
I will try attach a short plugin that demonstrates the issue. Found here
too: http://pastebin.com/GaUZ6jRp
(I did post this in the forums a few days ago, but got nothing)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18699>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list