Gmedia Photo Gallery

Gmedia Gallery - photo gallery with comments, show EXIF & Metadata, gallery with map geolocation (GPS), private galleries.

v1.25.0Serhii PasyukUpdated Added 7k+ installs86% rating
23
Score
350
Errors
1,121
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance94
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,471 findings

Maintainability

1,141

15 issue groups

Security

163

9 issue groups

I18n

130

1 issue group

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().130
Category
I18n
Occurrences
130
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.102
Category
Maintainability
Occurrences
102
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "_gm_relative_upload_path".75
Category
Maintainability
Occurrences
75
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "_gm_relative_upload_path".

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

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$components'.63
Category
Security
Occurrences
63
Severity
error

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityunlink unlinkunlink() is discouraged. Use wp_delete_file() to delete a file.42
Category
Maintainability
Occurrences
42
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.34
Category
Maintainability
Occurrences
34
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

Show 15 more
WARNINGMaintainabilityNon-prefixed function29
Category
Maintainability
Occurrences
29
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "a3_no_lazy_for_gmedia".

WARNINGMaintainabilityslow db query meta value22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORMaintainabilityfile system operations is writable20
Category
Maintainability
Occurrences
20
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().

ERRORMaintainabilityrename rename16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

WARNINGMaintainabilityDynamic hook name14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "{$meta_type}_add_meta".

WARNINGSecurityMissing nonce verification12
Category
Security
Occurrences
12
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDiscouraged PHP function11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

The use of function ini_set() is discouraged

ERRORMaintainabilityfile system operations chmod11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: chmod().

WARNINGSecurityInput is not validated10
Category
Security
Occurrences
10
Severity
warning

Sample message

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

ERRORSecurityOutput is not escaped9
Category
Security
Occurrences
9
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped7
Category
Security
Occurrences
7
Severity
warning

Sample message

Unescaped parameter $gmedia used in $wpdb->get_var()\n$gmedia assigned unsafely at line 193.

WARNINGMaintainabilitySchema Change7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInterpolated SQL is not prepared7
Category
Security
Occurrences
7
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $gmedia at "show tables like '$gmedia'"

WARNINGSecurityInput is not sanitized7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['userfile']['tmp_name']

WARNINGSecurityRequest data is not unslashed6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_POST['_wpnonce_related_gmedia'] not unslashed before sanitization. Use wp_unslash() or similar

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.25.0

23

Latest

Findings
1,471
Errors
350
Warnings
1,121
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Album Gallery for Flickr

4k+ active installs

100
100
100
Simple Block Gallery

1k+ active installs

100
WF Magnific Lightbox

1k+ active installs

100
Gallery Styles

500 active installs

99