Skip to content

Commit f1cf211

Browse files
committed
1 parent 81b3c68 commit f1cf211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/class-wp-scripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ private function filter_eligible_strategies( $handle, $eligible_strategies = nul
10701070
* @param array<string, true> $checked Optional. An array of already checked script handles, used to avoid recursive loops.
10711071
* @return string|null Highest fetch priority for the script and its dependents.
10721072
*/
1073-
private function get_highest_fetchpriority_with_dependents( string $handle, array $checked = array() ): ?string {
1073+
private function get_highest_fetchpriority_with_dependents( string $handle, array &$checked = array() ): ?string {
10741074
// If there is a recursive dependency, return early.
10751075
if ( isset( $checked[ $handle ] ) ) {
10761076
return null;

0 commit comments

Comments
 (0)