From 8adf0a06dae389babce0c20221d70b472c7fd1f7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 23 Oct 2008 22:41:51 +0000 Subject: [PATCH] Revert snoopy change that breaks with canonical feeds. git-svn-id: https://develop.svn.wordpress.org/trunk@9308 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-snoopy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-snoopy.php b/wp-includes/class-snoopy.php index 2c0acc9ac2..b1b32d2faa 100644 --- a/wp-includes/class-snoopy.php +++ b/wp-includes/class-snoopy.php @@ -789,7 +789,7 @@ class Snoopy $headers .= "User-Agent: ".$this->agent."\r\n"; if(!empty($this->host) && !isset($this->rawheaders['Host'])) { $headers .= "Host: ".$this->host; - if(!empty($this->port)) + if(!empty($this->port) && $this->port != 80) $headers .= ":".$this->port; $headers .= "\r\n"; }