Skip to content

Commit 7badd6d

Browse files
committed
Script Loader: Fix typo in code comment about sourceURL.
Developed in #9794. Follow-up to [60719]. Props jonsurrell, tobiasbg. See #63887. git-svn-id: https://develop.svn.wordpress.org/trunk@60722 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 143f1d1 commit 7badd6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/class-wp-scripts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ public function print_extra_script( $handle, $display = true ) {
226226
* Do not print a sourceURL comment if concatenation is enabled.
227227
*
228228
* Extra scripts may be concatenated into a single script.
229-
* The line-based sourceURL comments may a concatenated script and
230-
* do not make sense when multiple are joined together.
229+
* The line-based sourceURL comments may break concatenated scripts
230+
* and do not make sense when multiple scripts are joined together.
231231
*/
232232
if ( ! $this->do_concat ) {
233233
$output .= sprintf(

0 commit comments

Comments
 (0)