[wp-trac] Re: [WordPress Trac] #3283: add_menu_page bug
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 26 03:43:12 GMT 2006
#3283: add_menu_page bug
----------------------------+-----------------------------------------------
Reporter: arena | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Resolution: invalid
Keywords: |
----------------------------+-----------------------------------------------
Changes (by markjaquith):
* status: new => closed
* resolution: => invalid
Comment:
plugins shouldn't hardcode their filenames.
use the {{{__FILE__}}} constant for variable self-reference. That should
work no matter what the filename, and even if it is in a subdirectory.
Re-open if there's still an issue after properly using variable self-
reference.
--
Ticket URL: <http://trac.wordpress.org/ticket/3283#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list