Changeset 60719 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 09/08/2025 11:25:40 AM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/script-loader.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r60704 r60719 2213 2213 echo "/* <![CDATA[ */\n"; // Not needed in HTML 5. 2214 2214 echo $wp_scripts->print_code; 2215 echo sprintf( "\n//# sourceURL=%s\n", rawurlencode( 'js-inline-concat-' . $concat ) ); 2215 2216 echo "/* ]]> */\n"; 2216 2217 echo "</script>\n"; … … 2395 2396 $ver = $wp_styles->default_version; 2396 2397 2397 $concat = str_split( $concat, 128 ); 2398 $concatenated = ''; 2398 $concat_source_url = 'css-inline-concat-' . $concat; 2399 $concat = str_split( $concat, 128 ); 2400 $concatenated = ''; 2399 2401 2400 2402 foreach ( $concat as $key => $chunk ) { … … 2408 2410 echo "<style{$type_attr}>\n"; 2409 2411 echo $wp_styles->print_code; 2412 echo sprintf( "\n/*# sourceURL=%s */", rawurlencode( $concat_source_url ) ); 2410 2413 echo "\n</style>\n"; 2411 2414 }
Note: See TracChangeset
for help on using the changeset viewer.