Bug report: cleantalk-common.php ~line 458
-
in file: cleantalk-common.php ~line 458
Pregmatch using @ as delimiter is unreliable, and generates endless errors, esp given how often it’s called. Add tilde before and after to render ‘safe’. Took me a while to find it. Literally flooding debug log with complaints.
Minimum code change should be:
pregmatch( "~@" . $exclusion . "@~", $haystack ) === 1;
Cheers
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bug report: cleantalk-common.php ~line 458’ is closed to new replies.