Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
puntope committed Aug 3, 2023
1 parent f571294 commit b1d758b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-google-analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ public function async_script_loader_tags( $tag, $handle, $src ) {
}

// Check if the script has the async attribute already. If so, don't add it again.
$has_async_tag = preg_match('/^.*async.*$/', $tag);
$has_async_tag = preg_match( '/^.*async.*$/', $tag );
if ( ! empty( $has_async_tag ) ) {
return $tag;
}
Expand Down

0 comments on commit b1d758b

Please sign in to comment.