Show
Ignore:
Timestamp:
05/10/07 01:26:56 (2 years ago)
Author:
rob1n
Message:

Don't add port if port == 80 (default port). fixes #3993

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/class-snoopy.php

    r4075 r5424  
    797797        if(!empty($this->host) && !isset($this->rawheaders['Host'])) { 
    798798            $headers .= "Host: ".$this->host; 
    799             if(!empty($this->port)
     799            if(!empty($this->port) && $this->port != 80
    800800                $headers .= ":".$this->port; 
    801801            $headers .= "\r\n";