Skip to content

Commit 9915940

Browse files
westonruterb1ink0
andcommitted
Remove unused get_marked_for_enqueue() method
Co-authored-by: Aditya Dhade <aditya.dhade@rtcamp.com>
1 parent 3e96498 commit 9915940

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/wp-includes/class-wp-script-modules.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -522,20 +522,6 @@ private function get_import_map(): array {
522522
return array( 'imports' => $imports );
523523
}
524524

525-
/**
526-
* Retrieves the list of script modules marked for enqueue.
527-
*
528-
* @since 6.5.0
529-
*
530-
* @return array<string, array> Script modules marked for enqueue, keyed by script module identifier.
531-
*/
532-
private function get_marked_for_enqueue(): array {
533-
return wp_array_slice_assoc(
534-
$this->registered,
535-
$this->queue
536-
);
537-
}
538-
539525
/**
540526
* Retrieves all the dependencies for the given script module identifiers,
541527
* filtered by import types.

0 commit comments

Comments
 (0)