You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$insert_script = new whpAddStylesHard('whp', $scripts_list);
})
These include enqueueing jQuery and a number of other assets that are not required or contain no content.
This adds page bloat, reducing page performance and also presents a new vulnerability vector adding frameworks that are not otherwise needed by the website.
Could you either not enqueue these assets or provide a way to filter what is enqueued so we have the option to opt out?
To Reproduce
Steps to reproduce the behavior:
Install and enable plugin
Expected behavior
No additional frontend assets enqueued on the frontend
Used versions
WordPress version: 6.0.3
WP Hardening version: 1.2.6
The text was updated successfully, but these errors were encountered:
Describe the bug
Enabling the plugin adds a load of additional scripts and styles to the frontend website.
wp-security-hardening/modules/scripts.php
Lines 71 to 97 in 304fdf8
These include enqueueing jQuery and a number of other assets that are not required or contain no content.
This adds page bloat, reducing page performance and also presents a new vulnerability vector adding frameworks that are not otherwise needed by the website.
Could you either not enqueue these assets or provide a way to filter what is enqueued so we have the option to opt out?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No additional frontend assets enqueued on the frontend
Used versions
The text was updated successfully, but these errors were encountered: