Ultimate Lightbox

Add a responsive lightbox to any or all images on your site

v1.1.11RustauriusUpdated Added 1k+ installs80% rating
39
Score
110
Errors
59
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

169 findings

Security

124

7 issue groups

Maintainability

33

8 issue groups

I18n

11

5 issue groups

Repo Compliance

1

1 issue group

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.52
Category
Security
Occurrences
52
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$id'.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 '$id'.

WARNINGSecurityRequest data is not unslashed$_POST['_wp_http_referer'] not unslashed before sanitization. Use wp_unslash() or similar16
Category
Security
Occurrences
16
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In FooterIn 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.13
Category
Maintainability
Occurrences
13
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.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['ask_review_time']. Check that the array index exists before using it.6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log debug backtracedebug_backtrace() found. Debug code should not normally be used in production.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['add_lightbox']5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'ultimate-lightbox' but got 'simple-admin-pages'.5
Category
I18n
Occurrences
5
Severity
error

Sample message

Mismatched text domain. Expected 'ultimate-lightbox' but got 'simple-admin-pages'.

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

Sample message

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

Show 11 more
WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

ERRORMaintainabilityDeprecated parameter: get_terms parameter 22
Category
Maintainability
Occurrences
2
Severity
error

Sample message

The parameter "$this->args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'You have been logged out. Please %slogin again%s.'.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "attachment_url_to_postid()" requires WordPress 4.0.0, but your plugin minimum supported version is WordPress 3.5.0.

External Connections

Potential connections found in static code analysis.

22 domains

Outbound calls

55

External assets

2

Incoming endpoints

6

Notable Domains

etoilewebdesign.com8 · outbound
amsul.github.io5 · outbound
amsul.ca3 · outbound
ansciath.tumblr.com1 · outbound
bgrins.github.io1 · outbound

Platform / Reference Domains

github.com10 · platform/reference
codex.wordpress.org7 · platform/reference
w3.org6 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

youtube.com3 · asset + outbound
img.youtube.com1 · asset

Incoming Endpoints

wp_ajax_nopriv_ulb_get_paired_imagespublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_ewd_ulb_send_feature_suggestionauthenticated

wp_ajax

wp_ajax_ulb_get_paired_imagesauthenticated

wp_ajax

wp_ajax_ulb_hide_review_askauthenticated

wp_ajax

wp_ajax_ulb_send_feedbackauthenticated

wp_ajax

wp_ajax_ulb_welcome_set_optionsauthenticated

wp_ajax

Score History

First score snapshot

v1.1.11

39

Latest

Findings
169
Errors
110
Warnings
59
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins