Adds collaborative Docs to BuddyPress.
Prioritized issue groups from the latest Plugin Check scan
Security
471
10 issue groups
Maintainability
142
11 issue groups
I18n
70
3 issue groups
Performance
2
1 issue group
Sample message
All output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.
Sample message
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
Sample message
$_COOKIE['bp-docs-last-docs-directory'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE['bp-docs-last-docs-directory']
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.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Function "_prime_post_caches()" requires WordPress 3.4.0, but your plugin minimum supported version is WordPress 3.3.0.
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['existing-or-new-folder']. Check that the array index exists before using it.
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
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
Detected usage of tax_query, possible slow query.
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
Use placeholders and $wpdb->prepare(); found $check_sql
Sample message
The parameter "array(\n\t\t\t'fields' => 'ids',\n\t\t)" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
Mismatched text domain. Expected 'buddypress-docs' but got 'bp-docs'.
Sample message
Sanitization missing for register_setting().
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $exclude_sql at "SELECT ID FROM $wpdb->posts WHERE post_type = %s AND ID NOT IN $exclude_sql"
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "BuddyPress Docs" - contains the restricted term "buddypress" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "buddypress" elsewhere in your plugin name, such as "... for buddypress".
Sample message
The use of function _wp_post_revision_fields() is forbidden
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
Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Migrated %s of %s Docs. Migrating....'.
Sample message
Using exclusionary parameters, like post__not_in, 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.
Not analyzed yet.
First score snapshot
v2.2.7
25
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 25 | 705 | 284 | 421 | v2.2.7 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.