Embed Videos For Product Image Gallery Using WooCommerce

Embed videos to product gallery along with images on product page of WooCommerce.

v3.8ZealousWebUpdated Added 400 installs56% rating
62
Score
21
Errors
16
Warnings
+0
Change

Category Scores

Security39
Repo86
Performance100
Maintainability86

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

37 findings

Security

14

4 issue groups

I18n

10

3 issue groups

Maintainability

10

8 issue groups

Repo Compliance

3

3 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-embed-videos-to-product-image-gallery' but got 'embed-videos-product-image-gallery-woocommerce'.8
Category
I18n
Occurrences
8
Severity
error

Sample message

Mismatched text domain. Expected 'woocommerce-embed-videos-to-product-image-gallery' but got 'embed-videos-product-image-gallery-woocommerce'.

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().7
Category
Security
Occurrences
7
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "admin_wcevzw_embedvideos_scripts".2
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: "admin_wcevzw_embedvideos_scripts".

WARNINGSecurityRequest data is not unslashed$_REQUEST['attachments'][$attachment_id]['video_site'] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_REQUEST['attachments'][$attachment_id]['video_site'] not unslashed before sanitization. Use wp_unslash() or similar

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

Show 8 more
ERRORMaintainabilityparse url parse url1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceinvalid license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has an invalid license declared. Please update your readme with a valid SPDX license identifier.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

WARNINGRepo Complianceplugin header nonexistent domain path1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "embed-videos-product-image-gallery-woocommerce", expected "woocommerce-embed-videos-to-product-image-gallery".

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "woocommerce-embed-videos-to-product-image-gallery" - contains the restricted term "woocommerce" which cannot be used within in your plugin slug, unless your plugin slug contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your plugin slug.

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

Sample message

Function "submit_button()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.1.

External Connections

Potential connections found in static code analysis.

8 domains

Outbound calls

11

External assets

0

Incoming endpoints

0

Notable Domains

youtube.com3 · outbound
player.vimeo.com2 · outbound
photoswipe.com1 · outbound
vimeo.com1 · outbound
zealousweb.com1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v3.8

62

Latest

Findings
37
Errors
21
Warnings
16
Check
2.0.0

Relationship Map

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

34 nodes

Related Plugins