Image Gallery – Photo Albums Plugin is the easiest tool to create image gallery, photo albums, portfolio and also photo slider.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
614
6 issue groups
Maintainability
182
15 issue groups
I18n
88
4 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<input type='hidden' name='{$name}[]' value='0' />"'.472
- Category
- Security
- Occurrences
- 472
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<input type='hidden' name='{$name}[]' value='0' />"'.
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_emgaffiliateFetchmode".77
- Category
- Maintainability
- Occurrences
- 77
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_emgaffiliateFetchmode".
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.58
- Category
- Security
- Occurrences
- 58
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().49
- Category
- I18n
- Occurrences
- 49
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityMissing VersionResource 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.30
- Category
- Maintainability
- Occurrences
- 30
- 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.
WARNINGSecurityMissing Unslash$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar25
- Category
- Security
- Occurrences
- 25
- Severity
- warning
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNot In FooterIn 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.25
- Category
- Maintainability
- Occurrences
- 25
- 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.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['page']24
- Category
- Security
- Occurrences
- 24
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['page']
WARNINGSecurityRecommendedProcessing form data without nonce verification.23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $aff_email22
- Category
- I18n
- Occurrences
- 22
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $aff_email
Show 15 moreShow less
ERRORI18nMissing Translators Comment15
- Category
- I18n
- Occurrences
- 15
- 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.
WARNINGSecurityInput Not Validated12
- Category
- Security
- Occurrences
- 12
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['command']. Check that the array index exists before using it.
WARNINGMaintainabilityNon Prefixed Constant Found11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "EASYMEDG_PLUGIN_URL".
ERRORMaintainabilitymissing direct file access protection9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilitywp function not compatible with requires wp8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
Function "attachment_url_to_postid()" requires WordPress 4.0.0, but your plugin minimum supported version is WordPress 3.4.0.
WARNINGMaintainabilityNon Prefixed Variable Found5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$emgmemory".
WARNINGMaintainabilityNon Prefixed Class Found3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "EMG_Welcome".
WARNINGMaintainabilityNon Prefixed Hookname Found3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "emg_dashboard_stats_cap".
WARNINGMaintainabilityDirect Query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityslow db query meta query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
ERRORMaintainabilitystrip tags strip tags2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
WARNINGMaintainabilityGet terms Param2Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
The parameter "array( 'get ' => 'all' )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
ERRORI18nText Domain Mismatch2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
Mismatched text domain. Expected 'easy-media-gallery' but got 'easmedia'.
ERRORMaintainabilityFound1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
The use of function create_function() is forbidden
Score History
First score snapshot
v1.3.170
27
Latest
- Findings
- 899
- Errors
- 647
- Warnings
- 252
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 27 | 899 | 647 | 252 | v1.3.170 | 2.0.0 |