Video Gallery for WooCommerce – Add Product Video & Featured Video

Video Gallery for WooCommerce - add product video & featured video to the WooCommerce product gallery. Customize, boost sales. WooCommerce required.

v2.9NitramixUpdated Added 3k+ installs100% rating100% support resolved
27
Score
116
Errors
476
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability14

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

592 findings

Maintainability

493

15 issue groups

Security

75

6 issue groups

I18n

18

4 issue groups

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

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "remove_unused_thumbnails".92
Category
Maintainability
Occurrences
92
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo esc_attr ..." but found "<?= esc_attr ..."29
Category
Maintainability
Occurrences
29
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST[&#039;files_for_del&#039;] not unslashed before sanitization. Use wp_unslash() or similar8
Category
Security
Occurrences
8
Severity
warning

Sample message

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

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

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;VWG_PHP_MINIMUM_VERSION&quot;.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;VWG_PHP_MINIMUM_VERSION&quot;.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'video-wc-gallery' but got 'woocommerce'.5
Category
I18n
Occurrences
5
Severity
error

Sample message

Mismatched text domain. Expected 'video-wc-gallery' but got 'woocommerce'.

WARNINGI18nNo Html Wrapped StringsTranslatable string should not be wrapped in HTML. Found: &#039;&lt;p&gt;&lt;a href=&quot;https://wordpress.org/support/plugin/video-wc-gallery/&quot; target=&quot;_blank&quot; class=&quot;button button-secondary&quot;&gt;Get Help Now&lt;/a&gt;&lt;/p&gt;&#039;4
Category
I18n
Occurrences
4
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: &#039;&lt;p&gt;&lt;a href=&quot;https://wordpress.org/support/plugin/video-wc-gallery/&quot; target=&quot;_blank&quot; class=&quot;button button-secondary&quot;&gt;Get Help Now&lt;/a&gt;&lt;/p&gt;&#039;

Show 15 more
WARNINGMaintainabilityslow db query meta query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlink3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityNo Explicit Version3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORMaintainabilityfive star reviews detected3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitystrip tags strip tags2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
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 Footer2
Category
Maintainability
Occurrences
2
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.

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.

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.9

27

Latest

Findings
592
Errors
116
Warnings
476
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins