Easier file and folder management for WordPress Media Library for Galleries and Albums
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
616
3 issue groups
Security
597
9 issue groups
Maintainability
445
13 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'media-library-plus' but got "maxgalleria-media-library".595
- Category
- I18n
- Occurrences
- 595
- Severity
- error
Sample message
Mismatched text domain. Expected 'media-library-plus' but got "maxgalleria-media-library".
WARNINGSecurityRequest data is not unslashed$_GET['download'] not unslashed before sanitization. Use wp_unslash() or similar171
- Category
- Security
- Occurrences
- 171
- Severity
- warning
Sample message
$_GET['download'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.116
- Category
- Maintainability
- Occurrences
- 116
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES['file']['error']113
- Category
- Security
- Occurrences
- 113
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_FILES['file']['error']
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().108
- Category
- Maintainability
- Occurrences
- 108
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_plugins".102
- Category
- Maintainability
- Occurrences
- 102
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_plugins".
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $bb_sql84
- Category
- Security
- Occurrences
- 84
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $bb_sql
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a class='$class mlfp-protected $author_class' data-id='$row->ID' href='"'.69
- Category
- Security
- Occurrences
- 69
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a class='$class mlfp-protected $author_class' data-id='$row->ID' href='"'.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES['file']['error']. Check that the array index exists before using it.56
- Category
- Security
- Occurrences
- 56
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['file']['error']. Check that the array index exists before using it.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.50
- Category
- Security
- Occurrences
- 50
- Severity
- warning
Sample message
Processing form data without nonce verification.
Show 15 moreShow less
ERRORSecurityDatabase parameter is not escaped27
- Category
- Security
- Occurrences
- 27
- Severity
- error
Sample message
Unescaped parameter $replace_sql used in $wpdb->query()\n$replace_sql assigned unsafely at line 1298.
WARNINGSecurityInterpolated SQL is not prepared22
- Category
- Security
- Occurrences
- 22
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $block_access_table at (select $wpdb->posts.ID, post_author, post_title, {$wpdb->prefix}mgmlp_folders.folder_id, pm.meta_value as attached_file, 'b' as item_type, IFNULL($block_access_table.block,0) as block\n
ERRORMaintainabilitywp function not compatible with requires wp22
- Category
- Maintainability
- Occurrences
- 22
- Severity
- error
Sample message
Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.0.0.
WARNINGMaintainabilityNon-prefixed function19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_new_folder_parent".
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;
WARNINGMaintainabilityNon-prefixed constant13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BLOCKED_IPS_TABLE".
ERRORI18nMissing Translators Comment13
- Category
- I18n
- Occurrences
- 13
- 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.
WARNINGMaintainabilityMissing Version12
- Category
- Maintainability
- Occurrences
- 12
- 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.
ERRORMaintainabilitydate date11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORMaintainabilityfile system operations chmod9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: chmod().
ERRORMaintainabilityrename rename8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
rename() is discouraged. Use WP_Filesystem::move() to rename a file.
ERRORI18nMissing Arg Domain8
- Category
- I18n
- Occurrences
- 8
- Severity
- error
Sample message
Missing $domain parameter in function call to esc_html__().
ERRORSecurityLike Wildcards In Query With Placeholder5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
SQL wildcards for a LIKE query should be passed in through a replacement parameter and the variable part of the replacement should be escaped using "esc_like()". Found: like '%%%s%%'.
WARNINGMaintainabilityerror log error log5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
WARNINGMaintainabilityNot In Footer5
- Category
- Maintainability
- Occurrences
- 5
- 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.
External Connections
Not analyzed yet.
Score History
First score snapshot
v8.3.8
24
Latest
- Findings
- 1,696
- Errors
- 889
- Warnings
- 807
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 1,696 | 889 | 807 | v8.3.8 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.