Focus Videos

A plugin for setting the featured video in SiteOrigin's Focus theme.

v1.1Greg - SiteOriginUpdated Added 400 installs100% rating
53
Score
36
Errors
9
Warnings
+0
Change

Category Scores

Security20
Repo94
Performance100
Maintainability90

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

45 findings

I18n

21

2 issue groups

Security

18

5 issue groups

Maintainability

5

5 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'focus-videos' but got 'focus'.18
Category
I18n
Occurrences
18
Severity
error

Sample message

Mismatched text domain. Expected 'focus-videos' but got 'focus'.

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

Sample message

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

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

Sample message

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

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

WARNINGMaintainabilitymismatched plugin namePlugin name "Focus Videos" is different from the name declared in plugin header "Focus Video Plugin".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Focus Videos" is different from the name declared in plugin header "Focus Video Plugin".

Show 3 more
ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 4.6 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Focus Video Plugin" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

2

External assets

0

Incoming endpoints

0

Notable Domains

siteorigin.com1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.1

53

Latest

Findings
45
Errors
36
Warnings
9
Check
2.0.0

Relationship Map

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

26 nodes

Related Plugins