Import to Photo Gallery from NextGen gallery is an easy setup addon for importing photos and related data from NextGen Gallery to Photo Gallery.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
80
9 issue groups
Maintainability
59
8 issue groups
I18n
22
1 issue group
Repo Compliance
2
2 issue groups
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.30
- Category
- Maintainability
- Occurrences
- 30
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'import-to-photo-gallery-from-nextgen-gallery' but got 'pgi'.22
- Category
- I18n
- Occurrences
- 22
- Severity
- error
Sample message
Mismatched text domain. Expected 'import-to-photo-gallery-from-nextgen-gallery' but got 'pgi'.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.16
- Category
- Security
- Occurrences
- 16
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $album15
- Category
- Security
- Occurrences
- 15
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $album
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.13
- Category
- Security
- Occurrences
- 13
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$album_name'.12
- Category
- Security
- Occurrences
- 12
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$album_name'.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['import_comments']7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['import_comments']
WARNINGSecurityRequest data is not unslashed$_POST['import_comments'] not unslashed before sanitization. Use wp_unslash() or similar7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
$_POST['import_comments'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table_name used in $wpdb->get_results()4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Unescaped parameter $table_name used in $wpdb->get_results()
Show 10 moreShow less
ERRORSecurityDatabase parameter is not escaped4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
Unescaped parameter $album->id used in $wpdb->get_var()\n$album->id used without escaping.
ERRORMaintainabilityfile system operations mkdir3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
ERRORSecurityQuoted Simple Placeholder2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: "%d".
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;
ERRORMaintainabilityByte order mark found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File contains UTF-8 byte order mark, which may corrupt your application
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.
ERRORMaintainabilityNo Explicit Version1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.
ERRORRepo Compliancelicense mismatch1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Import to Photo Gallery from NextGen gallery" is different from the name declared in plugin header "NextGen Gallery Import to Photo Gallery".
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 4.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
Potential connections found in static code analysis.
Outbound calls
3
External assets
0
Incoming endpoints
0
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Score History
First score snapshot
v1.0.5
38
Latest
- Findings
- 163
- Errors
- 80
- Warnings
- 83
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 163 | 80 | 83 | v1.0.5 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.