We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922dcf0 commit d91f8c3Copy full SHA for d91f8c3
src/wp-includes/class-wp-script-modules.php
@@ -526,7 +526,7 @@ public function print_import_map() {
526
*/
527
private function get_import_map(): array {
528
$imports = array();
529
- foreach ( $this->get_dependencies( array_unique( $this->queue ) ) as $id ) {
+ foreach ( $this->get_dependencies( $this->queue ) as $id ) {
530
$src = $this->get_src( $id );
531
if ( '' !== $src ) {
532
$imports[ $id ] = $src;
0 commit comments