[wp-trac] Re: [WordPress Trac] #4907: add_menu_page() create faulty
links
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 4 18:37:38 GMT 2007
#4907: add_menu_page() create faulty links
-------------------------+--------------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: defect | Status: assigned
Priority: high | Milestone: 2.4 (next)
Component: General | Version: 2.3
Severity: major | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by markjaquith):
* owner: anonymous => markjaquith
* status: new => assigned
* milestone: 2.3 => 2.4 (next)
Comment:
Seems that for the top level, you need to point to a valid plugin file.
For plugins within the plugins directory, __FILE__ works. For plugins
outside, you can use a relative path to find the plugins.
Really funky. If it doesn't have ".php" we should just use the string as-
is.
--
Ticket URL: <http://trac.wordpress.org/ticket/4907#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list