Image Widget

A simple image widget that uses the native WordPress media manager to add image widgets to your site.

v4.4.12NexcessUpdated Added 100k+ installs98% rating0% support resolved
35
Score
165
Errors
31
Warnings
+0
Change

Category Scores

Security0
Repo73
Performance100
Maintainability76

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

196 findings

Security

157

5 issue groups

Maintainability

35

10 issue groups

Repo Compliance

3

3 issue groups

Supply Chain

1

1 issue group

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

Sample message

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

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

Sample message

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

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$id_prefix".7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGSecurityRecommendedProcessing form data without nonce verification.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'sp_template_image-widget_' . $template".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'sp_template_image-widget_' . $template".

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_REQUEST['_wp_http_referer']3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['_wp_http_referer']

WARNINGSecurityMissing Unslash$_REQUEST['_wp_http_referer'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "ImageWidgetDeprecated".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "ImageWidgetDeprecated".

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_get_attachment_image_sizes()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.5.0.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_get_attachment_image_sizes()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.5.0.

Show 9 more
WARNINGMaintainabilityNon Prefixed Function Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log error log1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityimage resize Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

image_resize() has been deprecated since WordPress version 3.5.0. Use wp_get_image_editor() instead.

WARNINGMaintainabilityNot In Footer1
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.

ERRORSupply Chainhidden files1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

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

Sample message

Tested up to: 6.7 < 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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The upgrade notice for "4.0" exceeds the limit of 300 characters.

Score History

First score snapshot

v4.4.12

35

Latest

Findings
196
Errors
165
Warnings
31
Check
2.0.0

Related Plugins

Category Icon

2k+ active installs

100
100
Default Featured Image

60k+ active installs

99
Favicon Rotator

20k+ active installs

99
Featured Image

1k+ active installs

99
Image Hotspot by DevVN

30k+ active installs

99