summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-19 16:06:15 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-19 16:06:15 +0000
commitae484584028c752efb5faa4c02259556e853d26e (patch)
treeef88d82a06a9226b332b74b013b4d85a896852b0 /wp-includes/functions.php
parent882678aa9ed2d369d1a4c66696df002f44aae889 (diff)
downloadwordpress-mu-ae484584028c752efb5faa4c02259556e853d26e.tar.gz
wordpress-mu-ae484584028c752efb5faa4c02259556e853d26e.tar.xz
wordpress-mu-ae484584028c752efb5faa4c02259556e853d26e.zip
WP Merge to 4197
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@761 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r--wp-includes/functions.php12
1 files changed, 0 insertions, 12 deletions
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];