[wp-trac] Re: [WordPress Trac] #10008: var pagenow in js not
supporting plugins !
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 2 21:47:39 GMT 2009
#10008: var pagenow in js not supporting plugins !
----------------------------+-----------------------------------------------
Reporter: arena | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: Administration | Version: 2.8
Severity: normal | Keywords: has-patch tested
----------------------------+-----------------------------------------------
Changes (by arena):
* keywords: has-patch needs-testing => has-patch tested
Comment:
Replying to [comment:1 Denis-de-Bernardy]:
> shouldn't this be substr($page_hook, 0, -4), rather?
No, in wp, pagenow is deducted from the php file name (admin.php,
post.php etc ...)
in plugins, plugin pages have no relation with any php file
(admin.php?page=toto ...)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10008#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list