Ticket #13592: 13592.patch
File 13592.patch, 760 bytes (added by , 13 years ago) |
---|
-
wp-includes/class.wp-scripts.php
123 123 $src = esc_url(apply_filters( 'script_loader_src', $src, $handle )); 124 124 125 125 if ( $this->do_concat ) 126 $this->print_html .= "<script type='text/javascript' src='$src'></script>\n";126 $this->print_html .= apply_filters( 'script_loader_tag', "<script type='text/javascript' src='$src'></script>\n", $handle ); 127 127 else 128 echo "<script type='text/javascript' src='$src'></script>\n";128 echo apply_filters( 'script_loader_tag', "<script type='text/javascript' src='$src'></script>\n", $handle ); 129 129 130 130 return true; 131 131 }