Bug #1903
closed
- Subject changed from forbidden words are case sensative to forbidden words are case sensitive
Instead of using str_replace have changed to preg_replace with i flag. First looped through to escape forbidden words in respect to the delimiter / with preg_quote then imploded array to a string with |. Forbidden words are now no longer case insensitive. It's possible to easily and simply use str_ireplace, but it is not PHP4 compliant breaking backwards compatibility.
- Status changed from New to Resolved
- Subject changed from forbidden words are case sensitive to Forbidden words are case sensitive and should be case-insensitive
- Status changed from Resolved to Closed
- % Done changed from 80 to 100
- Estimated time set to 0:30 h
Also available in: Atom
PDF