Video Gallery – Vimeo and YouTube Gallery

Build your utmost YouTube Gallery right away with Our Video Gallery plugin.

v1.1.7origincodeUpdated Added 6k+ installs78% rating
26
Score
561
Errors
794
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability13

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,355 findings

Security

624

12 issue groups

Maintainability

519

11 issue groups

I18n

201

2 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'smart-grid-gallery' but got 'origincode-vdg'.193
Category
I18n
Occurrences
193
Severity
error

Sample message

Mismatched text domain. Expected 'smart-grid-gallery' but got 'origincode-vdg'.

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['video_url'] not unslashed before sanitization. Use wp_unslash() or similar72
Category
Security
Occurrences
72
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

Use of a direct database call is discouraged.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.65
Category
Security
Occurrences
65
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

Show 15 more
ERRORSecuritySQL query is not prepared51
Category
Security
Occurrences
51
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version23
Category
Maintainability
Occurrences
23
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.

WARNINGSecurityNonce verification recommended22
Category
Security
Occurrences
22
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escaped21
Category
Security
Occurrences
21
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection17
Category
Maintainability
Occurrences
17
Severity
error

Sample message

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

ERRORSecurityQuoted Simple Placeholder10
Category
Security
Occurrences
10
Severity
error

Sample message

Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%d'.

ERRORI18nMissing Arg Domain8
Category
I18n
Occurrences
8
Severity
error

Sample message

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

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

ERRORMaintainabilitystrip tags strip tags6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed hook name5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORMaintainabilityShort PHP open tag found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo esc_attr ..." but found "<?= esc_attr ..."

WARNINGSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb-&gt;get_results()

WARNINGMaintainabilityNon-prefixed function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

Score History

First score snapshot

v1.1.7

26

Latest

Findings
1,355
Errors
561
Warnings
794
Check
2.0.0

Related Plugins

Video Gallery Block

1k+ active installs

99
86
Videopack

10k+ active installs

58