[wp-testers] Akismet 1.12 on IIS

Owen Winkler ringmaster at midnightcircus.com
Wed Dec 21 21:30:07 GMT 2005


James Johnson wrote:
> Just upgraded and it appears that the fix Matt added for IIS users is no
> longer in 2.0.
> 
> Here is the original bug that was fixed:
> http://trac.wordpress.org/ticket/1599
> 
> The fix is the very last thing in changeset 3025.

That fix broke the established behavior of the plugin_basename() 
function, which is to return the filename and possibly one level of 
directory name for a plugin file that is passed to it.

When you stripslash on IIS, it often removes the slash that should be there.

If a plugin has a problem with using the function, it is a plugin issue, 
not an issue with the plugin_basename() function, though it might be 
worthwhile to see if this can be accounted for in some other way.

See:
http://trac.wordpress.org/changeset/3139
http://trac.wordpress.org/ticket/1866

Owen




More information about the wp-testers mailing list