YT Player – Embed and Customize Video Players

A modern, accessible, fully customizable & user-friendly YouTube Video Player for WordPress.

v2.0.8bPluginsUpdated Added 1k+ installs96% rating
25
Score
3,163
Errors
261
Warnings
+0
Change

Category Scores

Security0
Repo75
Performance96
Maintainability21

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

3,424 findings

Security

2,278

9 issue groups

I18n

986

4 issue groups

Maintainability

135

10 issue groups

Performance

4

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.2,092
Category
Security
Occurrences
2,092
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'yt-player' but got "ytp".938
Category
I18n
Occurrences
938
Severity
error

Sample message

Mismatched text domain. Expected 'yt-player' but got "ytp".

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$this-&gt;unique]32
Category
Security
Occurrences
32
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$this-&gt;unique]

WARNINGSecurityRequest data is not unslashed$_POST[$this-&gt;unique] not unslashed before sanitization. Use wp_unslash() or similar32
Category
Security
Occurrences
32
Severity
warning

Sample message

$_POST[$this-&gt;unique] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

ERRORMaintainabilityOffloaded ContentFound call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.20
Category
Maintainability
Occurrences
20
Severity
error

Sample message

Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

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

Sample message

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

Show 15 more
WARNINGSecurityMissing nonce verification18
Category
Security
Occurrences
18
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityMissing Version18
Category
Maintainability
Occurrences
18
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 Footer18
Category
Maintainability
Occurrences
18
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.

ERRORSecurityException output is not escaped14
Category
Security
Occurrences
14
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared12
Category
Security
Occurrences
12
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $columns at &quot;CREATE TABLE IF NOT EXISTS $full_table_name ( $columns ) $table_options;&quot;

WARNINGMaintainabilitySchema Change10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilityMissing direct file access protection10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

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

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

WARNINGSecurityDatabase parameter is not escaped6
Category
Security
Occurrences
6
Severity
warning

Sample message

Unescaped parameter $full_table_name used in $wpdb-&gt;query()\n$full_table_name assigned unsafely at line 26.

ERRORMaintainabilityblock api version too low6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

WARNINGPerformancePost Not In exclude4
Category
Performance
Occurrences
4
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.

ERRORSupply ChainCompressed files included4
Category
Supply Chain
Occurrences
4
Severity
error

Sample message

Compressed files are not permitted.

ERRORMaintainabilityfive star reviews detected3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Linking directly to 5 stars reviews is not allowed.

WARNINGI18nDiscouraged text-domain loading2
Category
I18n
Occurrences
2
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.

ERRORMaintainabilityPlugin Directory Write2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using copy(). Detected usage of constant WP_PLUGIN_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.0.8

25

Latest

Findings
3,424
Errors
3,163
Warnings
261
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins