diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-26 18:35:16 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-26 18:35:16 +1100 |
| commit | d404a40ce8743ea08f1599c38c017ff99fdd2ff6 (patch) | |
| tree | 00794f0ef27399c775fc7fb6d6022330307d9fab /inc/functions.php | |
| parent | cd30f3b0b90a79930aa39f8d68da5cc247dfadc3 (diff) | |
wordfilters (non-regex) should be case-insensitive
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index c968ff69..15bddb84 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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); } } } |
