FooGallery Migrate

Migrate to FooGallery from other gallery plugins like NextGen, Modula, Envira and other gallery plugins.

v1.10FooPluginsUpdated Added 1k+ installs100% rating
33
Score
83
Errors
205
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability41

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

288 findings

Maintainability

192

13 issue groups

Security

63

9 issue groups

I18n

32

3 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$album_id".81
Category
Maintainability
Occurrences
81
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$album_id".

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.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;30
Category
Maintainability
Occurrences
30
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

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.22
Category
I18n
Occurrences
22
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.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $album_id at "SELECT sortorder FROM $album_table WHERE id = $album_id"21
Category
Security
Occurrences
21
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $album_id at "SELECT sortorder FROM $album_table WHERE id = $album_id"

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.11
Category
Security
Occurrences
11
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $query8
Category
Security
Occurrences
8
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $query

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FM_ENVIRA_POST_TYPE".8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FM_ENVIRA_POST_TYPE".

Show 15 more
ERRORI18nUnordered Placeholders Text6
Category
I18n
Occurrences
6
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$s", but got "%d, %d, %s" in 'Migrated %d of %d %s'.

WARNINGSecurityInput is not sanitized5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['images_per_turn']

ERRORSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

Unescaped parameter $album_id used in $wpdb->get_results()\n$album_id used without escaping.

ERRORI18nText Domain Mismatch4
Category
I18n
Occurrences
4
Severity
error

Sample message

Mismatched text domain. Expected 'foogallery-migrate' but got 'foogallery'.

WARNINGSecurityInput is not validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['foogallery_album_migrate_url']. Check that the array index exists before using it.

ERRORMaintainabilityparse url parse url3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORMaintainabilityunlink unlink3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilityMixed line endings2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

WARNINGMaintainabilityDiscouraged PHP function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGSecurityReplacements Wrong Number1
Category
Security
Occurrences
1
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 2.

WARNINGMaintainabilityerror log error log1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

ERRORSecurityOutput is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$edit_link'.

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

8

External assets

0

Incoming endpoints

17

Notable Domains

getcomposer.org2 · outbound
php-fig.org2 · outbound
fooplugins.com1 · outbound
mis-algoritmos.com1 · outbound

Platform / Reference Domains

github.com2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints17
admin_post_foogallery_migrate_save_settingsauthenticated

admin_post

wp_ajax_foogallery_album_migrateauthenticated

wp_ajax

wp_ajax_foogallery_album_migrate_cancelauthenticated

wp_ajax

wp_ajax_foogallery_album_migrate_continueauthenticated

wp_ajax

wp_ajax_foogallery_album_migrate_refreshauthenticated

wp_ajax

wp_ajax_foogallery_album_migrate_resetauthenticated

wp_ajax

wp_ajax_foogallery_content_refreshauthenticated

wp_ajax

wp_ajax_foogallery_content_replaceauthenticated

wp_ajax

wp_ajax_foogallery_migrateauthenticated

wp_ajax

wp_ajax_foogallery_migrate_cancelauthenticated

wp_ajax

wp_ajax_foogallery_migrate_check_gallery_errorsauthenticated

wp_ajax

wp_ajax_foogallery_migrate_continueauthenticated

wp_ajax

5 more hidden

Score History

First score snapshot

v1.10

33

Latest

Findings
288
Errors
83
Warnings
205
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

33 nodes

Related Plugins

Album Gallery for Flickr

4k+ active installs

100
Aruba Migration Tool

600 active installs

100
100
100
Simple Block Gallery

1k+ active installs

100
WF Magnific Lightbox

1k+ active installs

100