From ae484584028c752efb5faa4c02259556e853d26e Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 19 Sep 2006 16:06:15 +0000 Subject: WP Merge to 4197 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@761 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/functions.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'wp-includes/functions.php') diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 230bf96..1401b7b 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1034,18 +1034,6 @@ function wp_check_filetype($filename, $mimes = null) { return compact('ext', 'type'); } -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 ); - $rev_ip = implode( '.', array_reverse( explode( '.', $ipnum ) ) ); - $lookup = $rev_ip . '.sbl-xbl.spamhaus.org.'; - if ( $lookup != gethostbyname( $lookup ) ) - return true; - } - - return false; -} - function wp_explain_nonce($action) { if ( $action !== -1 && preg_match('/([a-z]+)-([a-z]+)(_(.+))?/', $action, $matches) ) { $verb = $matches[1]; -- cgit