Skip to content

Commit

Permalink
EnqueuedScriptsScope: possible false negative? #648
Browse files Browse the repository at this point in the history
Fixes #448

Clarifies that script contenxt is check front end only
  • Loading branch information
alanef committed Sep 20, 2024
1 parent 6d83e06 commit 8f4131c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function () use ( $result ) {
if ( isset( $plugin_script['count'] ) && ( $url_count === $plugin_script['count'] ) ) {
$this->add_result_warning_for_file(
$result,
__( 'This script is being loaded in all contexts.', 'plugin-check' ),
__( 'This script is being loaded in all frontend contexts.', 'plugin-check' ),
'EnqueuedScriptsScope',
$plugin_script['path']
);
Expand Down

0 comments on commit 8f4131c

Please sign in to comment.