Skip to content

Commit

Permalink
fix(PreloadFilters) use actual tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Aug 20, 2024
1 parent af8a3ca commit 01aa2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WordPress/PreloadFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function addFilter(
if (!isset($wp_filter[$hookName])) {
$wp_filter[$hookName] = [];
}
if (!isset($wp_filter['string'][$priority])) {
if (!isset($wp_filter[$hookName][$priority])) {
$wp_filter[$hookName][$priority] = [];
}
$wp_filter[$hookName][$priority][] = [
Expand Down

0 comments on commit 01aa2d7

Please sign in to comment.