[wp-testers] Can I rewind from svn to 2.0.4 ?

Tassoman (mailing) ml at tassoman.com
Wed Aug 2 14:43:14 GMT 2006


Would be good making a rewind from svn to 2.0.4? Or just patching errors would
be quite good?

Adding comments as not logged in username gives errors:

Warning: preg_replace(): Compilation failed: unmatched parentheses at offset 48
in htdocs/wp-includes/functions.php on line 1015

Index: trunk/wp-includes/functions.php
===================================================================
--- trunk/wp-includes/functions.php     (revision 4071)
+++ trunk/wp-includes/functions.php     (working copy)
@@ -1012,7 +1012,7 @@

 function wp_proxy_check($ipnum) {
        if ( get_option('open_proxy_check') && isset($ipnum) ) {
-               $ipnum = preg_replace(
'/([0-9]{1,3})\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/', '$1', $ipnum );
+               $ipnum = preg_replace(
'/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/', '$1', $ipnum );
                $rev_ip = implode( '.', array_reverse( explode( '.', $ipnum ) ) );
                $lookup = $rev_ip . '.sbl-xbl.spamhaus.org.';
                if ( $lookup != gethostbyname( $lookup ) )


More information about the wp-testers mailing list