WPJAM Basic 是我爱水煮鱼博客多年来使用 WordPress 来整理的优化插件,WPJAM Basic 除了能够优化你的 WordPress,也是 WordPress 果酱团队进行 WordPress 二次开发的基础。
Prioritized issue groups from the latest Plugin Check scan
Security
314
10 issue groups
Maintainability
233
11 issue groups
I18n
46
4 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_GET['_jsonp']'.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_taxonomy_support".
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$key]
Sample message
$_COOKIE[$key] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Function "array_first()" requires WordPress 6.9.0, but your plugin minimum supported version is WordPress 6.8.0.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Processing form data without nonce verification.
Sample message
Mismatched text domain. Expected 'wpjam-basic' but got 'wpjam'.
Sample message
trigger_error() found. Debug code should not normally be used in production.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['_jsonp']. Check that the array index exists before using it.
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
Use placeholders and $wpdb->prepare(); found $key
Sample message
var_export() found. Debug code should not normally be used in production.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$content_type".
Sample message
The $text parameter must be a single text string literal. Found: $args && $err == 'value' ? '%s\'s value' : $err
Sample message
Use of a direct database call is discouraged.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "attachment_url_to_postid".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$code'.
Sample message
A function call to __() 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
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$data['hook']".
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $where at "SELECT ID FROM $wpdb->posts WHERE $where"
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
Sample message
Missing $domain parameter in function call to __().
Potential connections found in static code analysis.
Outbound calls
83
External assets
1
Incoming endpoints
0
No public endpoints detected.
4 score snapshots
v7.0.3
19
Latest
v7.0.2.1
19
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 19 | 671 | 325 | 346 | v7.0.3 | 2.0.0 |
| 19 | 667 | 320 | 347 | v7.0.2.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.