MediaPress is the most advanced and feature rich media gallery plugin for BuddyPress & WordPress.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
1,171
10 issue groups
Maintainability
136
9 issue groups
I18n
135
5 issue groups
Performance
9
1 issue group
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h3>{$section['title']}</h3>\n"'.510
- Category
- Security
- Occurrences
- 510
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h3>{$section['title']}</h3>\n"'.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.172
- Category
- Security
- Occurrences
- 172
- Severity
- error
Sample message
All output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['mpp-message']121
- Category
- Security
- Occurrences
- 121
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE['mpp-message']
WARNINGSecurityRequest data is not unslashed$_COOKIE['mpp-message'] not unslashed before sanitization. Use wp_unslash() or similar110
- Category
- Security
- Occurrences
- 110
- Severity
- warning
Sample message
$_COOKIE['mpp-message'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES[$file_id]['name']. Check that the array index exists before using it.88
- Category
- Security
- Occurrences
- 88
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES[$file_id]['name']. Check that the array index exists before using it.
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.77
- Category
- I18n
- Occurrences
- 77
- 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.
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.67
- Category
- Security
- Occurrences
- 67
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.44
- Category
- Security
- Occurrences
- 44
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().36
- Category
- I18n
- Occurrences
- 36
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.34
- Category
- Maintainability
- Occurrences
- 34
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
Show 15 moreShow less
WARNINGMaintainabilityNo Caching32
- Category
- Maintainability
- Occurrences
- 32
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecuritySQL query is not prepared26
- Category
- Security
- Occurrences
- 26
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $new_sql
WARNINGSecurityInterpolated SQL is not prepared19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $op at " AND p.ID $op %d "
ERRORMaintainabilityMissing direct file access protection15
- Category
- Maintainability
- Occurrences
- 15
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORSecurityDatabase parameter is not escaped14
- Category
- Security
- Occurrences
- 14
- Severity
- error
Sample message
Unescaped parameter $list used in $wpdb->query()\n$list assigned unsafely at line 705.
WARNINGMaintainabilityMissing Version14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
ERRORI18nUnordered Placeholders Text12
- Category
- I18n
- Occurrences
- 12
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$d", but got "%d, %d, %d" in 'Viewing gallery %d to %d (of %d galleries)'.
WARNINGMaintainabilityslow db query meta key11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query meta value10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Detected usage of meta_value, possible slow query.
WARNINGPerformancePost Not In exclude9
- Category
- Performance
- Occurrences
- 9
- Severity
- warning
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.
WARNINGMaintainabilityNot In Footer8
- Category
- Maintainability
- Occurrences
- 8
- 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.
WARNINGMaintainabilityslow db query meta query7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
ERRORMaintainabilityunlink unlink5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
ERRORI18nNon Singular String Literal Plural5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $plural parameter must be a single text string literal. Found: $type . 's'
ERRORI18nNon Singular String Literal Single5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $single parameter must be a single text string literal. Found: $type
External Connections
Not analyzed yet.
Score History
First score snapshot
v1.6.3
23
Latest
- Findings
- 1,487
- Errors
- 904
- Warnings
- 583
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 1,487 | 904 | 583 | v1.6.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.