Skip to content

Commit

Permalink
:closes: 6948 -- Make sure tags are case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Sep 5, 2024
1 parent 4d7b54b commit 71d2a82
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function get_processed_tags() {
*
* @param array|string[] $tags Tags to be processed.
*/
return wpm_apply_filters_typed(
$tags = wpm_apply_filters_typed(
'array',
'rocket_lazy_render_content_processed_tags',
[
Expand All @@ -43,5 +43,10 @@ protected function get_processed_tags() {
'HEADER',
]
);

/**
* Convert tags to upper case here before
*/
return array_map( 'strtoupper', $tags );
}
}

0 comments on commit 71d2a82

Please sign in to comment.