Photo Gallery is a powerful image gallery plugin with a list of advanced options for creating responsive image galleries with beautiful lightbox.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
3,997
12 issue groups
Maintainability
1,289
9 issue groups
I18n
322
4 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$action'.1,902
- Category
- Security
- Occurrences
- 1,902
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$action'.
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.1,380
- Category
- Security
- Occurrences
- 1,380
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.504
- Category
- Maintainability
- Occurrences
- 504
- 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().477
- Category
- Maintainability
- Occurrences
- 477
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.213
- Category
- Maintainability
- Occurrences
- 213
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $alb_gal_where202
- Category
- Security
- Occurrences
- 202
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $alb_gal_where
ERRORI18nText Domain MismatchMismatched text domain. Expected 'photo-gallery' but got "tenweb-booster".152
- Category
- I18n
- Occurrences
- 152
- Severity
- error
Sample message
Mismatched text domain. Expected 'photo-gallery' but got "tenweb-booster".
ERRORSecurityUnescaped DBParameterUnescaped parameter $alb_gal_where used in $wpdb->query()\n$alb_gal_where assigned unsafely at line 111.116
- Category
- Security
- Occurrences
- 116
- Severity
- error
Sample message
Unescaped parameter $alb_gal_where used in $wpdb->query()\n$alb_gal_where assigned unsafely at line 111.
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $align93
- Category
- I18n
- Occurrences
- 93
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $align
WARNINGSecurityRecommendedProcessing form data without nonce verification.89
- Category
- Security
- Occurrences
- 89
- Severity
- warning
Sample message
Processing form data without nonce verification.
Show 15 moreShow less
ERRORSecurityQuoted Simple Placeholder88
- Category
- Security
- Occurrences
- 88
- Severity
- error
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: "%d".
WARNINGSecurityMissing Unslash73
- Category
- Security
- Occurrences
- 73
- Severity
- warning
Sample message
$_GET[$key] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nMissing Translators Comment67
- Category
- I18n
- Occurrences
- 67
- 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.
WARNINGSecurityMissing38
- Category
- Security
- Occurrences
- 38
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput Not Sanitized37
- Category
- Security
- Occurrences
- 37
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_FILES[$this->options['param_name']]
WARNINGSecurityUnfinished Prepare32
- Category
- Security
- Occurrences
- 32
- Severity
- warning
Sample message
Replacement variables found, but no valid placeholders found in the query.
ERRORMaintainabilitydate date24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGSecurityInput Not Validated21
- Category
- Security
- Occurrences
- 21
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST[$wd_options->prefix . '_save_form_fild']. Check that the array index exists before using it.
WARNINGMaintainabilityNot In Footer21
- Category
- Maintainability
- Occurrences
- 21
- 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.
WARNINGSecurityUnescaped DBParameter19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Unescaped parameter $join used in $wpdb->get_var()\n$join assigned unsafely at line 1362.
ERRORMaintainabilityfile system operations mkdir14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
ERRORMaintainabilityrand rand12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
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.
ERRORMaintainabilitymissing direct file access protection12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORI18nNon Singular String Literal Domain10
- Category
- I18n
- Occurrences
- 10
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $prefix
Score History
First score snapshot
v1.8.42
23
Latest
- Findings
- 5,712
- Errors
- 4,159
- Warnings
- 1,553
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 5,712 | 4,159 | 1,553 | v1.8.42 | 2.0.0 |