Commit ceee60b8 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix media-url rewrite plugin

parent 814de239
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ function unparse_url( array $parts ) {
		(isset($parts['scheme'])   ?  "{$parts['scheme']}://" : '') .
		(isset($parts['user'])     ?    $parts['user']        : '') .
		(isset($parts['pass'])     ? ":{$parts['pass']}"      : '') .
		(isset($parts['user'] || isset($parts['pass'])) ? '@' : '') .
		(isset($parts['user']) || isset($parts['pass']) ? '@' : '') .
		(isset($parts['host'])     ?    $parts['host']        : '') .
		(isset($parts['port'])     ? ":{$parts['port']}"      : '') .
		(isset($parts['path'])     ?    $parts['path']        : '') .