Widgets Control

A Widget toolbox that adds visibility management and helps to control where widgets, sidebars and content are shown efficiently.

v3.0.0itthinxUpdated Added 800 installs94% rating
40
Score
92
Errors
47
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance94
Maintainability86

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

139 findings

Security

122

6 issue groups

Maintainability

8

6 issue groups

I18n

5

4 issue groups

Performance

2

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 '$cache[$args['widget_id']]'.81
Category
Security
Occurrences
81
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$widget_id . '-widgets-plugin-display-condition']11
Category
Security
Occurrences
11
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$widget_id . '-widgets-plugin-display-condition']

WARNINGSecurityRequest data is not unslashed$_POST[$widget_id . '-widgets-plugin-display-condition'] not unslashed before sanitization. Use wp_unslash() or similar11
Category
Security
Occurrences
11
Severity
warning

Sample message

$_POST[$widget_id . '-widgets-plugin-display-condition'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

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

Sample message

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

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

ERRORPerformanceSuppress Filters suppress filtersSetting `suppress_filters` to `true` is prohibited.2
Category
Performance
Occurrences
2
Severity
error

Sample message

Setting `suppress_filters` to `true` is prohibited.

Show 9 more
ERRORMaintainabilityForbidden PHP function found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function wp_get_sidebars_widgets() is forbidden

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
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.

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityDeprecated function: get_page_by_title1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

get_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.

ERRORMaintainabilityDeprecated parameter: add_option parameter 31
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "null" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Use "" instead.

ERRORI18nDeprecated parameter: load_plugin_textdomain parameter 21
Category
I18n
Occurrences
1
Severity
error

Sample message

The parameter "null" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'You can also follow <a href="%s">@itthinx</a> on Twitter or visit <a href="%s" target="_blank">itthinx.com</a> to check out other free and premium plugins we provide.'.

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

Sample message

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

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

20

External assets

0

Incoming endpoints

4

Notable Domains

itthinx.com10 · outbound
docs.itthinx.com2 · outbound
twitter.com1 · outbound

Platform / Reference Domains

wordpress.org6 · platform/reference
codex.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints4
wp_ajax_save_widgetauthenticated

wp_ajax

wp_ajax_widgets_control_sidebar_saveauthenticated

wp_ajax

wp_ajax_widgets_control_sidebar_visibilityauthenticated

wp_ajax

wp_ajax_widgets_orderauthenticated

wp_ajax

Score History

First score snapshot

v3.0.0

40

Latest

Findings
139
Errors
92
Warnings
47
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins

Child Theme Check

800 active installs

100
Gantry 5 Framework

7k+ active installs

100
Generate Child Theme

9k+ active installs

100
Menu Visibility Control

500 active installs

99
Disable All WordPress Updates

10k+ active installs

98