Any chance you could add something like
function ppm_fixe_trailingslash($url, $type)
{
if ('single' === $type)
return $url;
if ('page' === $type)
return $url;
return trailingslashit($url);
}
I am very happy with http://www.domain.tld/category/ but not http://www.domain.tld/category.html/
I am not a coder by the way, as you probably remember. Just a concerned citizen... 8^)
Terence.