Index: src/wp-includes/class.wp-scripts.php
===================================================================
--- src/wp-includes/class.wp-scripts.php	(revision 30223)
+++ src/wp-includes/class.wp-scripts.php	(working copy)
@@ -138,11 +138,22 @@
 		if ( ! $src )
 			return true;
 
-		if ( $this->do_concat )
-			$this->print_html .= "<script type='text/javascript' src='$src'></script>\n";
-		else
-			echo "<script type='text/javascript' src='$src'></script>\n";
+		$script_tag = "<script type='text/javascript' src='$src'></script>\n";
 
+		if ( $this->do_concat ) {
+			/**
+			 * Filter the script tag.
+			 *
+			 * @since 4.1.0
+			 *
+			 * @param string $script_tag Script tag.
+			 * @param string $handle     Script handle.
+			 */
+			$this->print_html .= apply_filters( 'script_loader_tag', $script_tag, $handle );
+		} else {
+			echo apply_filters( 'script_loader_tag', $script_tag, $handle );
+		}
+
 		return true;
 	}
 
