Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades

A multi-featured plugin to embed YouTube in WordPress. Embed a video, YouTube channel gallery, playlist, or YouTube livestream. Defer JavaScript too!

v14.2.6embedplusUpdated Added 100k+ installs92% rating0% support resolved
34
Score
571
Errors
195
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability47

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

766 findings

Security

649

9 issue groups

I18n

58

3 issue groups

Maintainability

49

13 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$array['align']'.413
Category
Security
Occurrences
413
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST['options']. Check that the array index exists before using it.44
Category
Security
Occurrences
44
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityMissing Unslash$_POST['options'] not unslashed before sanitization. Use wp_unslash() or similar42
Category
Security
Occurrences
42
Severity
warning

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['options']40
Category
Security
Occurrences
40
Severity
warning

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.35
Category
Security
Occurrences
35
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'youtube-embed-plus' but got 'text_domain'.11
Category
I18n
Occurrences
11
Severity
error

Sample message

Mismatched text domain. Expected 'youtube-embed-plus' but got 'text_domain'.

ERRORMaintainabilityrand randrand() is discouraged. Use the far less predictable wp_rand() instead.8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

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

Sample message

Use of a direct database call is discouraged.

Show 15 more
WARNINGMaintainabilityNo Caching6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

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.

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

WARNINGMaintainabilityNon Prefixed Variable Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORI18nSingle Underscore Get Text Function4
Category
I18n
Occurrences
4
Severity
error

Sample message

Found single-underscore "_()" function when double-underscore expected.

ERRORSecurityNot Prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant Found2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityparse url parse url2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitymissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.5.0.

ERRORMaintainabilityPlugin Directory Write1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityUnescaped DBParameter1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $vi_table_name used in $wpdb->query()\n$vi_table_name assigned unsafely at line 26.

ERRORSecurityUnescaped DBParameter1
Category
Security
Occurrences
1
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->query()\n$sql assigned unsafely at line 1830.

Score History

First score snapshot

v14.2.6

34

Latest

Findings
766
Errors
571
Warnings
195
Check
2.0.0

Related Plugins

Disable Lazy Load

10k+ active installs

100
Lazy Load for Comments

2k+ active installs

99
Playlist Player for YouTube

2k+ active installs

99
Protected Video

1k+ active installs

99
Add class to Elementor Image

1k+ active installs

98