Adds Subresource Integrity (SRI) attributes to your page's elements for better protection against JavaScript DDoS attacks.
Prioritized issue groups from the latest Plugin Check scan
Security
87
6 issue groups
Maintainability
12
9 issue groups
I18n
11
4 issue groups
Performance
5
1 issue group
Sample message
$_GET['_' . self::prefix . 'nonce'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_GET['_' . self::prefix . 'nonce']
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.
Sample message
A function call to _n() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
Sample message
Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.
Sample message
Processing form data without nonce verification.
Sample message
Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_tests_dir".
Sample message
Application files are not permitted.
Sample message
Hidden files are not permitted.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_manually_load_plugin".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "sri_exclude_array".
Sample message
Mismatched text domain. Expected 'wp-sri' but got 'wp-wri'.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Learn more about %sSubresource Integrity%s features.'.
Sample message
GitHub workflow directory ".github" detected. This directory should not be included in production plugins.
Sample message
Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="
Sample message
Tested up to: 5.6 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The plugin slug includes a restricted term. Your plugin slug - "wp-sri" - contains the restricted term "wp" which cannot be used at all in your plugin slug.
Sample message
Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.
Potential connections found in static code analysis.
Outbound calls
12
External assets
0
Incoming endpoints
1
No external asset domains detected.
No public endpoints detected.
wp_ajax
First score snapshot
v0.4.0
35
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 35 | 120 | 26 | 94 | v0.4.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.