wordfilters (non-regex) should be case-insensitive

This commit is contained in:
Michael Save 2012-01-26 18:35:16 +11:00
parent cd30f3b0b9
commit d404a40ce8

View File

@ -1283,7 +1283,7 @@
if(isset($filter[2]) && $filter[2]) {
$body = preg_replace($filter[0], $filter[1], $body);
} else {
$body = str_replace($filter[0], $filter[1], $body);
$body = str_ireplace($filter[0], $filter[1], $body);
}
}
}