Private groups

For bbPress - Creates private forum groups

v3.9.7Robin WUpdated Added 1k+ installs98% rating100% support resolved
30
Score
583
Errors
316
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance98
Maintainability25

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

899 findings

Security

593

11 issue groups

Maintainability

255

11 issue groups

I18n

40

3 issue groups

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'bbp-private-groups' but got 'bbp-private groups'.24
Category
I18n
Occurrences
24
Severity
error

Sample message

Mismatched text domain. Expected 'bbp-private-groups' but got 'bbp-private groups'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['tab']21
Category
Security
Occurrences
21
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['tab']

WARNINGSecurityRequest data is not unslashed$_GET['tab'] not unslashed before sanitization. Use wp_unslash() or similar21
Category
Security
Occurrences
21
Severity
warning

Sample message

$_GET['tab'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $forum at "select ID from $wpdb->posts where post_type = '$forum'"18
Category
Security
Occurrences
18
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $forum at "select ID from $wpdb->posts where post_type = '$forum'"

Show 15 more
WARNINGMaintainabilityDirect Query15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment14
Category
I18n
Occurrences
14
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.

ERRORSecurityDatabase parameter is not escaped13
Category
Security
Occurrences
13
Severity
error

Sample message

Unescaped parameter $forum used in $wpdb->get_col()\n$forum assigned unsafely at line 1008.

WARNINGMaintainabilityslow db query meta key13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGSecurityMissing nonce verification10
Category
Security
Occurrences
10
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended8
Category
Security
Occurrences
8
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validated7
Category
Security
Occurrences
7
Severity
warning

Sample message

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

ERRORMaintainabilitystrip tags strip tags7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

ERRORSecuritySetting is missing a sanitization callback6
Category
Security
Occurrences
6
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityslow db query meta value5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityNon-prefixed class5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityMixed line endings2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.9.7

30

Latest

Findings
899
Errors
583
Warnings
316
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins