Allows you to select images to be shown at random for posts without a featured image.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
280
4 issue groups
Security
102
7 issue groups
Maintainability
63
12 issue groups
Repo Compliance
1
1 issue group
ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-random-post-thumbnails' but got 'cmb2'.231
- Category
- I18n
- Occurrences
- 231
- Severity
- error
Sample message
Mismatched text domain. Expected 'wp-random-post-thumbnails' but got 'cmb2'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_this'.82
- Category
- Security
- Occurrences
- 82
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_this'.
ERRORMaintainabilitywp function not compatible with requires wpFunction "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.5.0.30
- Category
- Maintainability
- Occurrences
- 30
- Severity
- error
Sample message
Function "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.5.0.
ERRORI18nMissing Translators CommentA 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.26
- Category
- I18n
- Occurrences
- 26
- Severity
- error
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.
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().18
- Category
- I18n
- Occurrences
- 18
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'.10
- Category
- Security
- Occurrences
- 10
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$field'.
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'add_meta_boxes_' . self::$props[ $id ]['hook']".6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'add_meta_boxes_' . self::$props[ $id ]['hook']".
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->prefix5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $this->prefix
ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().3
- Category
- Security
- Occurrences
- 3
- Severity
- error
Sample message
Sanitization missing for register_setting().
Show 14 moreShow less
WARNINGMaintainabilityNot In Footer3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Random Post Thumbnails" - contains the restricted term "wp" which cannot be used at all in your plugin name.
WARNINGMaintainabilityDynamic hook name2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter".
WARNINGMaintainabilityNon-prefixed function2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "new_cmb2_box".
WARNINGSecurityNonce verification recommended2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not sanitized2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['page']
WARNINGSecurityRequest data is not unslashed2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityMissing Version2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.
ERRORMaintainabilityNo Explicit Version2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.
ERRORMaintainabilitybadly named files2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File and folder names must not contain spaces or special characters.
WARNINGMaintainabilityslow db query meta query1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGSecurityMissing nonce verification1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityrand rand1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.7 < 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.
External Connections
Not analyzed yet.
Score History
First score snapshot
v2.6.3
34
Latest
- Findings
- 446
- Errors
- 420
- Warnings
- 26
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 34 | 446 | 420 | 26 | v2.6.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.