Changeset 53367 for branches/6.0/src/wp-includes/class.wp-scripts.php
- Timestamp:
- 05/09/2022 12:01:48 AM (3 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
- Property svn:mergeinfo changed
/trunk merged: 53360,53366
- Property svn:mergeinfo changed
-
branches/6.0/src/wp-includes/class.wp-scripts.php
r53283 r53367 311 311 $inline_script_tag = ''; 312 312 } 313 314 /* 315 * Prevent concatenation of scripts if the text domain is defined 316 * to ensure the dependency order is respected. 317 */ 318 $translations_stop_concat = ! empty( $obj->textdomain ); 313 319 314 320 $translations = $this->print_translations( $handle, false ); … … 328 334 $srce = apply_filters( 'script_loader_src', $src, $handle ); 329 335 330 if ( $this->in_default_dir( $srce ) && ( $before_handle || $after_handle || $translations ) ) {336 if ( $this->in_default_dir( $srce ) && ( $before_handle || $after_handle || $translations_stop_concat ) ) { 331 337 $this->do_concat = false; 332 338
Note: See TracChangeset
for help on using the changeset viewer.