web/wp-includes/class.wp-scripts.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
--- a/web/wp-includes/class.wp-scripts.php	Wed Dec 19 12:35:13 2012 -0800
+++ b/web/wp-includes/class.wp-scripts.php	Wed Dec 19 17:46:52 2012 -0800
@@ -110,7 +110,7 @@
 		}
 
 		$this->print_extra_script( $handle );
-		if ( !preg_match('|^https?://|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) {
+		if ( !preg_match('|^(https?:)?//|', $src) && ! ( $this->content_url && 0 === strpos($src, $this->content_url) ) ) {
 			$src = $this->base_url . $src;
 		}