We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 751887b commit d30c9deCopy full SHA for d30c9de
1 file changed
src/wp-includes/class-wp-script-modules.php
@@ -305,7 +305,7 @@ public function print_import_map() {
305
*/
306
private function get_import_map(): array {
307
$imports = array();
308
- $script_module_ids = $this->marked_for_inclusion + array_keys( $this->get_marked_for_enqueue() );
+ $script_module_ids = array_merge( $this->marked_for_inclusion, array_keys( $this->get_marked_for_enqueue() ) );
309
310
foreach ( $this->get_dependencies( $script_module_ids ) as $id => $script_module ) {
311
$src = $this->get_src( $id );
0 commit comments