Wordpress 3.7
[autoinstalls/wordpress.git] / wp-includes / class.wp-scripts.php
index 38f3f9fcf3b7c64d406877deab30a958f7200ae4..5e16632152ef70ed4e06b04ace9194e6e69c5a89 100644 (file)
@@ -119,6 +119,9 @@ class WP_Scripts extends WP_Dependencies {
 
                $src = esc_url( apply_filters( 'script_loader_src', $src, $handle ) );
 
+               if ( ! $src )
+                       return true;
+
                if ( $this->do_concat )
                        $this->print_html .= "<script type='text/javascript' src='$src'></script>\n";
                else