[wp-testers] Comment Errors

Peter Westwood peter.westwood at ftwr.co.uk
Fri Aug 11 10:34:32 GMT 2006


On Fri, August 11, 2006 11:07 am, Christopher Windsor wrote:
> With the latest svn I'm getting these errors while commenting.
>
> These errors return when one in not logged in:
>
> *Warning*: preg_replace(): Compilation failed: unmatched parentheses at
>> offset 48 in *
>> /home/virtual/site6/fst/var/www/html/wp-includes/functions.php* on line
>> *
>> 1015*

Line 1015 is in wp_proxy_check which checks if the source IP for comments
is blacklisted.

It looks like this changeset broke it:
http://trac.wordpress.org/changeset/3990

Possible fix attached - Remove the extra bracket in the middle so that we
capture the whole IP Address.

westi
-- 
Peter Westwood <peter.westwood at ftwr.co.uk>
http://blog.ftwr.co.uk


More information about the wp-testers mailing list