Photo Gallery Slideshow & Masonry Tiled Gallery

This is a beautiful masonry tiled gallery and photo gallery slideshow plugin for WordPress blogs and sites. Admin can manage any number of images for …

v1.0.17NksUpdated Added 1k+ installs78% rating
30
Score
806
Errors
352
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance100
Maintainability34

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,158 findings

Security

981

11 issue groups

Maintainability

162

13 issue groups

I18n

7

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<script type='text/javascript'> location.href='$location';</script>"'.701
Category
Security
Occurrences
701
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<script type='text/javascript'> location.href='$location';</script>"'.

WARNINGSecurityRequest data is not unslashed$_GET[&#039;action&#039;] not unslashed before sanitization. Use wp_unslash() or similar95
Category
Security
Occurrences
95
Severity
warning

Sample message

$_GET[&#039;action&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;BackgroundColor&#039;]. Check that the array index exists before using it.63
Category
Security
Occurrences
63
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;BackgroundColor&#039;]. Check that the array index exists before using it.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.36
Category
Maintainability
Occurrences
36
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().36
Category
Maintainability
Occurrences
36
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 1223.28
Category
Security
Occurrences
28
Severity
error

Sample message

Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 1223.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;add_my_responsive_photo_gallery_admin_menu&quot;.28
Category
Maintainability
Occurrences
28
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;add_my_responsive_photo_gallery_admin_menu&quot;.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;id&#039;]21
Category
Security
Occurrences
21
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;id&#039;]

Show 15 more
ERRORMaintainabilitydate date18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() 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.

WARNINGMaintainabilityNot In Footer11
Category
Maintainability
Occurrences
11
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.

ERRORMaintainabilityrand rand7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORI18nText Domain Mismatch7
Category
I18n
Occurrences
7
Severity
error

Sample message

Mismatched text domain. Expected 'wp-responsive-photo-gallery' but got 'aag'.

ERRORMaintainabilitystrip tags strip tags5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGSecurityInput is not validated or sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _SERVER: &quot;http://{$_SERVER[&#039;HTTP_HOST&#039;]}{$_SERVER[&#039;REQUEST_URI&#039;]}&quot;

WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed global variable2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$dir&quot;.

ERRORMaintainabilityfile system operations fclose2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fwrite2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $table_nameg_rjg used in $wpdb-&gt;get_var()

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInterpolated SQL is not prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $table_nameg_rjg at &quot;SHOW TABLES LIKE &#039;$table_nameg_rjg&#039;&quot;

External Connections

Potential connections found in static code analysis.

21 domains

Outbound calls

94

External assets

5

Incoming endpoints

7

Notable Domains

docs.jquery.com28 · outbound
i13websolution.com16 · outbound
site.com8 · outbound
elegantthemes.com6 · outbound
facebook.com6 · outbound

Platform / Reference Domains

gnu.org2 · platform/reference
opensource.org2 · platform/reference
github.com1 · platform/reference

External Asset Domains

google.com5 · asset

Incoming Endpoints

wp_ajax_nopriv_rjg_get_grid_data_justified_gallerypublic

wp_ajax

Admin AJAX endpoints6
wp_ajax_mass_upload_wpresponsivephgalleryauthenticated

wp_ajax

wp_ajax_mass_upload_wpresponsivephgallerymsauthenticated

wp_ajax

wp_ajax_rjg_check_file_exist_justified_galleryauthenticated

wp_ajax

wp_ajax_rjg_get_grid_data_justified_galleryauthenticated

wp_ajax

wp_ajax_rjg_get_metacafe_info_justified_galleryauthenticated

wp_ajax

wp_ajax_rjg_get_youtube_info_justified_galleryauthenticated

wp_ajax

Score History

First score snapshot

v1.0.17

30

Latest

Findings
1,158
Errors
806
Warnings
352
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Masonry Image Gallery Block

1k+ active installs

99
BNE Gallery Extended

1k+ active installs

86
Image Gallery Block

2k+ active installs

81
Animated Live Wall Gallery

2k+ active installs

40