[wp-hackers] Change in plugin Options page handling

Jamie Talbot wphackers at jamietalbot.com
Fri Feb 25 04:56:30 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan Boren wrote:
| I think I have everything fixed.  Attached is a diff against current
| SVN and a sample plugin.  The trick when adding a toplevel menu and a
|  submenu via the same plugin is to use __FILE__ for the toplevel menu
| and a made up name for the submenu.

I had a problem using the sample plugin after patching a local WinXP
install running latest CVS.  The __FILE__ var seemed to include the
entire path to the plugin, causing Invalid Plugin Page errors and Object
Not Found errors...

Did I do something wrong?

J.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCHq/9rovxfShShFARAt8SAJ996qNRGiVSx54DSs271eFMyvJLQQCgkEOt
g3TCpn+I8FOqOENkEsAMgdU=
=VKIA
-----END PGP SIGNATURE-----


More information about the hackers mailing list