Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
221
7 issue groups
I18n
58
3 issue groups
Maintainability
20
11 issue groups
Performance
4
1 issue group
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.90
- Category
- Security
- Occurrences
- 90
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$attachments_pro_instance['auto_append_template']'.77
- Category
- Security
- Occurrences
- 77
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$attachments_pro_instance['auto_append_template']'.
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().29
- Category
- I18n
- Occurrences
- 29
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $field->field_id28
- Category
- I18n
- Occurrences
- 28
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $field->field_id
WARNINGSecurityRequest data is not unslashed$_GET['attachments-caption'] not unslashed before sanitization. Use wp_unslash() or similar15
- Category
- Security
- Occurrences
- 15
- Severity
- warning
Sample message
$_GET['attachments-caption'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['attachments-caption']14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['attachments-caption']
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['attachments-caption']. Check that the array index exists before using it.13
- Category
- Security
- Occurrences
- 13
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['attachments-caption']. Check that the array index exists before using it.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.11
- Category
- Security
- Occurrences
- 11
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
ERRORPerformanceSuppress Filters suppress filtersSetting `suppress_filters` to `true` is prohibited.4
- Category
- Performance
- Occurrences
- 4
- Severity
- error
Sample message
Setting `suppress_filters` to `true` is prohibited.
Show 13 moreShow less
ERRORMaintainabilitywp function not compatible with requires wp4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Function "esc_textarea()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.
WARNINGMaintainabilityNon-prefixed global variable2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$legacy".
ERRORMaintainabilityNon Enqueued Script2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
ERRORMaintainabilityMissing direct file access protection2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityslow db query meta query1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGMaintainabilityNon-prefixed constant1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "IS_ADMIN".
WARNINGMaintainabilityNon-prefixed hook name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "image_upload_iframe_src".
WARNINGSecurityPlugin menu slug uses __FILE__1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Using __FILE__ for menu slugs risks exposing filesystem structure.
WARNINGMaintainabilityDeprecated function: get_currentuserinfo1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
get_currentuserinfo() has been deprecated since WordPress version 4.5.0. Use wp_get_current_user() instead.
WARNINGMaintainabilityDeprecated function: wp_richedit_pre1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
wp_richedit_pre() has been deprecated since WordPress version 4.3.0. Use format_for_editor() instead.
WARNINGMaintainabilityMissing Version1
- Category
- Maintainability
- Occurrences
- 1
- 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.
ERRORI18nText Domain Mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched text domain. Expected 'attachments' but got 'attachmentsui'.
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.9 < 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
v3.5.11
38
Latest
- Findings
- 304
- Errors
- 238
- Warnings
- 66
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 304 | 238 | 66 | v3.5.11 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.