Lightweight Sidebar Manager

Create new sidebar areas and display them conditionally on certain pages. Works with all themes.

v2.0.0Brainstorm ForceUpdated Added 80k+ installs84% rating
83
Score
13
Errors
36
Warnings
+0
Change

Category Scores

Security82
Repo89
Performance100
Maintainability73

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

49 findings

Maintainability

39

12 issue groups

Security

5

2 issue groups

I18n

3

2 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "BSF_ANALYTICS_URI".9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

WARNINGSecurityMissing Unslash$_POST['bsf-sb-users'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_POST['bsf-sb-users'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityDynamic Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$key . '_tracking_enabled'".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$key . '_tracking_enabled'".

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "bsf_cb_target_page_settings".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Function "get_user_count()" requires WordPress 4.8.0, but your plugin minimum supported version is WordPress 4.0.0.

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

Sample message

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

Show 8 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: "wp_timezone_string".

WARNINGMaintainabilityNon Prefixed Variable Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityInput Not Sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[BSF_SB_POST_TYPE . '-nonce']

WARNINGMaintainabilityGet terms Param2Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The parameter "array(\n\t\t\t\t\t\t'orderby' => 'count',\n\t\t\t\t\t\t'hide_empty' => 0,\n\t\t\t\t\t\t'name__like' => $search_string,\n\t\t\t\t\t)" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Lightweight Sidebar Manager" is different from the name declared in plugin header "Sidebar Manager".

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.

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.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "bsfsidebars", expected "sidebar-manager".

Score History

First score snapshot

v2.0.0

83

Latest

Findings
49
Errors
13
Warnings
36
Check
2.0.0

Related Plugins