Import attachments from another WordPress blog using a WXR file.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
73
5 issue groups
Maintainability
17
8 issue groups
I18n
7
1 issue group
Repo Compliance
3
3 issue groups
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['author1']20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['author1']
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST['author1']. Check that the array index exists before using it.20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['author1']. Check that the array index exists before using it.
WARNINGSecurityMissing Unslash$_POST['author1'] not unslashed before sanitization. Use wp_unslash() or similar20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
$_POST['author1'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.12
- Category
- Security
- Occurrences
- 12
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
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.7
- Category
- I18n
- Occurrences
- 7
- 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.
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "backfill_attachment_urls".4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "backfill_attachment_urls".
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilitywp get http Foundwp_get_http() has been deprecated since WordPress version 4.4.0. Use the WP_Http class instead.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
wp_get_http() has been deprecated since WordPress version 4.4.0. Use the WP_Http class instead.
WARNINGMaintainabilityMissing VersionResource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
Show 7 moreShow less
ERRORSecurityOutput Not Escaped1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
ERRORMaintainabilityWp upload bits Param2Found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
The parameter "0" at position #2 of wp_upload_bits() has been deprecated since WordPress version 2.0.0. Instead do not pass the parameter.
ERRORMaintainabilitymissing direct file access protection1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 4.0 < 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.
WARNINGRepo Compliancereadme parser warnings ignored tags1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
One or more tags were ignored. The following tags are not permitted: "plugin", "wordpress"
WARNINGRepo Compliancereadme parser warnings too many tags1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
ERRORMaintainabilitywp function not compatible with requires wp1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Function "submit_button()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.
Score History
First score snapshot
v0.6.0
40
Latest
- Findings
- 100
- Errors
- 24
- Warnings
- 76
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 40 | 100 | 24 | 76 | v0.6.0 | 2.0.0 |