Holy shmoly! I sent that note yesterday afternoon and within 24 hours a fix was provided.
Owen, you are da man! And thanks, James, for letting me know I ain't the only one out here running WIMP. Everybody needs a good forehead slap once in a while ... ___________________________________ W. Tobias Simmons Simmons Consulting, Web Design and Marketing [EMAIL PROTECTED] http://www.simmonsconsulting.com Phone: 501.821.4230 / Fax: 501.244.4416 > From: Owen Winkler <[EMAIL PROTECTED]> > Subject: Re: [wp-testers] Akismet 1.12 on IIS > To: [email protected] > > James Johnson wrote: > > The Akismet Configuration under Plugins works -- I believe this has always > > worked, even pre changeset 3025 -- but no luck with Akismet Spam under > > Manage. Its giving the same cannot redeclare error. > > It's like I was saying... > > The value passed in as the $file parameter to add_management_page() can > have absolutely nothing to do with the plugin's filename, as long as you: > > 1) Pass a unique value among all active plugins. > 2) Also supply the $function parameter. > 3) Remain consistent with whatever value you pass for the sake of > linking to those pages. > > Either of the attached diffs to akismet.php both work. One uses > basename(__FILE__), which is sensible. The other uses the word > "squidoo" to illustrate my point. > > Either of these solutions could cause a problem if you have two active > plugins using the same filename/identifier located in different > directories, which is the best reason to use plugin_basename(__FILE__) > or just "__FILE__" (which is reduced in add_submenu_page() using > plugin_basename() anyway), since it creates a unique index for plugin > files in different locations. > > The solution would then be to apply the patch to admin.php, which fixes > a fairly simple forehead-slapping bug and makes all of these issues go > away. :) > > Owen _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
