Changeset 60704 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 09/03/2025 10:15:31 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r60681 r60704 1048 1048 1049 1049 $scripts->add( 'comment-reply', "/wp-includes/js/comment-reply$suffix.js", array(), false, 1 ); 1050 did_action( 'init' ) && $scripts->add_data( 'comment-reply', 'strategy', 'async' ); 1050 if ( did_action( 'init' ) ) { 1051 $scripts->add_data( 'comment-reply', 'strategy', 'async' ); 1052 $scripts->add_data( 'comment-reply', 'fetchpriority', 'low' ); // In Chrome this is automatically low due to the async strategy, but in Firefox and Safari the priority is normal/medium. 1053 } 1051 1054 1052 1055 $scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", array(), '2015-05-03' );
Note: See TracChangeset
for help on using the changeset viewer.