### Eclipse Workspace Patch 1.0
#P wordpress-trunk bare
Index: wp-includes/canonical.php
===================================================================
--- wp-includes/canonical.php	(revision 17523)
+++ wp-includes/canonical.php	(working copy)
@@ -44,6 +44,7 @@
 		// build the URL in the address bar
 		$requested_url  = is_ssl() ? 'https://' : 'http://';
 		$requested_url .= $_SERVER['HTTP_HOST'];
+		$requested_url .= $_SERVER['HTTP_PORT'] == '80' ? '' : ':'.(int) $_SERVER['HTTP_PORT'];
 		$requested_url .= $_SERVER['REQUEST_URI'];
 	}
 
