Conditional Blocks – Advanced Content Visibility Control for WordPress

Easily show/hide WordPress blocks & widgets with powerful, no-code display logic. Perfect for restricting content. Explore advanced scheduling, Ge …

v3.3.2Morgan HvidtUpdated Added 2k+ installs98% rating
90
Score
10
Errors
22
Warnings
+0
Change

Category Scores

Security89
Repo97
Performance100
Maintainability80

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

32 findings

Maintainability

29

9 issue groups

I18n

1

1 issue group

Security

1

1 issue group

Repo Compliance

1

1 issue group

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "CB_AFC_Integration".9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "cb_check_block_action".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityerror log var exportvar_export() found. Debug code should not normally be used in production.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGI18nDiscouraged text-domain loadingload_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.1
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.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityMissing VersionResource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.

WARNINGMaintainabilitymismatched plugin namePlugin name "Conditional Blocks - Advanced Content Visibility Control for WordPress" is different from the name declared in plugin header "Conditional Blocks".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Conditional Blocks - Advanced Content Visibility Control for WordPress" is different from the name declared in plugin header "Conditional Blocks".

Show 2 more
WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Conditional Blocks - Advanced Content Visibility Control for WordPress" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.3.2

90

Latest

Findings
32
Errors
10
Warnings
22
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Hide/Remove Metadata

20k+ active installs

100
Auto Hide Admin Bar

4k+ active installs

99
Hide WP Admin Notifications

1k+ active installs

99
Hide This

2k+ active installs

98
Remove Widget Titles

7k+ active installs

97
Disable Media Pages

10k+ active installs

96