BP Group Documents creates a page within each BuddyPress group to upload and any type of file or document.
Prioritized issue groups from the latest Plugin Check scan
Security
132
10 issue groups
Maintainability
88
12 issue groups
Repo Compliance
2
2 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$bp".
Sample message
Detected usage of a non-sanitized input variable: $_FILES['bp_group_documents_file']['error']
Sample message
$_GET['delete'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['bp_group_documents_file']['error']. Check that the array index exists before using it.
Sample message
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Use placeholders and $wpdb->prepare(); found $sql
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "cac_catch_group_doc_request".
Sample message
Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 916.
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$bp->groups->table_name} at " d INNER JOIN {$bp->groups->table_name} g ON d.group_id = g.id WHERE g.status = 'public' ORDER BY created_ts DESC LIMIT %d"
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_locale".
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.
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
The use of function move_uploaded_file() is forbidden
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().
Sample message
The parameter value "home" has been deprecated since WordPress version 2.2.0. Use the "url" argument instead.
Sample message
Mismatched "Tested up to": 6.7.2 != 6.7.2, BuddyPress 14.4.1. The "Tested up to" value in the readme file must match the "Tested up to" value in the plugin header. If the plugin header has a "Tested up to" value, it will override the readme value, which can cause confusion.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Tested up to: 6.7 < 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.
Sample message
Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.6.0.
Potential connections found in static code analysis.
Outbound calls
7
External assets
0
Incoming endpoints
1
No external asset domains detected.
No public endpoints detected.
wp_ajax
First score snapshot
v2.1
36
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 222 | 27 | 195 | v2.1 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.