BuddyPress

Get together safely, in your own way, in WordPress.

v14.4.0BuddyPressUpdated Added 100k+ installs82% rating
22
Score
583
Errors
9,008
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance82
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

9,591 findings

Maintainability

6,909

14 issue groups

Security

2,534

9 issue groups

Performance

41

1 issue group

I18n

35

1 issue group

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'bp_activity_post_type_edit_' . $post->post_type".2,730
Category
Maintainability
Occurrences
2,730
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'bp_activity_post_type_edit_' . $post->post_type".

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $alias at " ON ($this->primary_table.$this->primary_id_column = $alias.$this->meta_id_column AND $alias.meta_key = %s )"492
Category
Security
Occurrences
492
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $alias at " ON ($this->primary_table.$this->primary_id_column = $alias.$this->meta_id_column AND $alias.meta_key = %s )"

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['bp-message']474
Category
Security
Occurrences
474
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['bp-message']

WARNINGSecurityRequest data is not unslashed$_COOKIE['bp-message'] not unslashed before sanitization. Use wp_unslash() or similar463
Category
Security
Occurrences
463
Severity
warning

Sample message

$_COOKIE['bp-message'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.335
Category
Maintainability
Occurrences
335
Severity
warning

Sample message

Use of a direct database call is discouraged.

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

Sample message

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

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().280
Category
Maintainability
Occurrences
280
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityNon-prefixed class158
Category
Maintainability
Occurrences
158
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated128
Category
Security
Occurrences
128
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared104
Category
Security
Occurrences
104
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $activity_ids_sql

ERRORSecurityDatabase parameter is not escaped85
Category
Security
Occurrences
85
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable69
Category
Maintainability
Occurrences
69
Severity
warning

Sample message

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

WARNINGPerformancePost Not In exclude41
Category
Performance
Occurrences
41
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGMaintainabilityDynamic hook name35
Category
Maintainability
Occurrences
35
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment35
Category
I18n
Occurrences
35
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.

WARNINGMaintainabilityslow db query meta query27
Category
Maintainability
Occurrences
27
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed namespace26
Category
Maintainability
Occurrences
26
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Buddypress\CLI".

WARNINGSecurityDatabase parameter is not escaped23
Category
Security
Occurrences
23
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta key23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityNon-prefixed constant21
Category
Maintainability
Occurrences
21
Severity
warning

Sample message

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

ERRORMaintainabilitydate date18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilityblock api version too low15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

External Connections

Not analyzed yet.

Score History

First score snapshot

v14.4.0

22

Latest

Findings
9,591
Errors
583
Warnings
9,008
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins