[wpmu-trac] [WordPress MU Trac] #245: r869 - feeds from site will
not be picked up by rss widgets, etc
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sun Jan 28 14:18:17 GMT 2007
#245: r869 - feeds from site will not be picked up by rss widgets, etc
------------------------+---------------------------------------------------
Reporter: mrball | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
WPMU is set to die when url has port number. WPMU's rss retrieval code is
set to have port number in url. One has to give way for consistency.
/wpmu-settings.php (working copy)
@@ -7,9 +7,9 @@
$domain = addslashes( $_SERVER['HTTP_HOST'] );
if( substr( $domain, 0, 4 ) == 'www.' )
$domain = substr( $domain, 4 );
-if( strpos( $domain, ':' ) ) {
+/*if( strpos( $domain, ':' ) ) {
die( 'WPMU only works without the port number in the URL.' );
-}
+}*/
$domain = preg_replace('/:.*$/', '', $domain); // Strip ports
if( substr( $domain, -1 ) == '.' )
$domain = substr( $domain, 0, -1 );
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/245>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list