Responsive Lightbox & Gallery

The most popular lightbox plugin and responsive gallery builder for WordPress.

v2.7.8dFactoryUpdated Added 100k+ installs98% rating33% support resolved
28
Score
139
Errors
513
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance90
Maintainability25

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

652 findings

Security

311

7 issue groups

Maintainability

233

13 issue groups

I18n

76

4 issue groups

Performance

18

1 issue group

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "attachment_fields_to_save".157
Category
Maintainability
Occurrences
157
Severity
warning

Sample message

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

WARNINGSecurityRecommendedProcessing form data without nonce verification.108
Category
Security
Occurrences
108
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissingProcessing form data without nonce verification.84
Category
Security
Occurrences
84
Severity
warning

Sample message

Processing form data without nonce verification.

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.38
Category
Security
Occurrences
38
Severity
error

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['page']36
Category
Security
Occurrences
36
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['page']

WARNINGSecurityMissing Unslash$_GET['plugin'] not unslashed before sanitization. Use wp_unslash() or similar34
Category
Security
Occurrences
34
Severity
warning

Sample message

$_GET['plugin'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGPerformancePost Not In excludeUsing exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.18
Category
Performance
Occurrences
18
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

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

Sample message

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

WARNINGMaintainabilityMixedFile has mixed line endings; this may cause incorrect results11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

Show 15 more
WARNINGMaintainabilityNon Prefixed Function Found11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

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.

WARNINGMaintainabilityslow db query tax query7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityDynamic Hookname Found7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->prefix . '_configuration_updated'".

WARNINGMaintainabilityDirect Query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

WARNINGSecurityInput Not Validated6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text6
Category
I18n
Occurrences
6
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $button1

ERRORSecurityNot Prepared5
Category
Security
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version5
Category
Maintainability
Occurrences
5
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.

ERRORI18nUnordered Placeholders Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'If you are having problems with this plugin, please browse it\'s %s or talk about them in the %s.'.

ERRORMaintainabilitybadly named files4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

WARNINGMaintainabilityslow db query meta query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

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.

ERRORMaintainabilityfive star reviews detected2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

Score History

First score snapshot

v2.7.8

28

Latest

Findings
652
Errors
139
Warnings
513
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
Disable Lazy Load

10k+ active installs

100
100
Image Placeholders

60k+ active installs

100
100