[wp-hackers] Change in plugin Options page handling

Jamie Talbot wphackers at jamietalbot.com
Fri Feb 25 05:09:57 GMT 2005


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

| add_*_page() run __FILE__ through plugin_basename() to strip off the
| extra stuff.
|
| You mention latest CVS.  The patch is against latest SVN.  That could be
| a problem.
|

Sorry, force of habit.  I meant SVN!  Running __FILE__ through the
built-in PHP basename() function did the trick.  Nice one!

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

iD8DBQFCHrMlrovxfShShFARAuz9AJ99zOln2fnG51RRkb669+BIb+vzLACfRKpA
BPA7S22O/x4L8hZ0Wny7pRE=
=3eAU
-----END PGP SIGNATURE-----


More information about the hackers mailing list