Knowledge Base documentation & wiki plugin – BasePress Docs

Easily create & manage documentation. Reduce support tickets & scale your customer support workload. This simple plugin works with any theme.

v2.17.0.2BasePressUpdated Added 2k+ installs96% rating
22
Score
671
Errors
1,767
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance89
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,438 findings

Maintainability

1,680

13 issue groups

Security

707

12 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.528
Category
Security
Occurrences
528
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_basepress_color_brightness&quot;.103
Category
Maintainability
Occurrences
103
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_basepress_color_brightness&quot;.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_Admin_Menu_Manager&quot;.55
Category
Maintainability
Occurrences
55
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_Admin_Menu_Manager&quot;.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.26
Category
Maintainability
Occurrences
26
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.

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

Sample message

Use of a direct database call is discouraged.

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.5.0.19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

Function "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.5.0.

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

Sample message

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

Show 15 more
WARNINGSecurityInput is not validated18
Category
Security
Occurrences
18
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;form&#039;][&#039;css-uri&#039;]. Check that the array index exists before using it.

ERRORSecurityUnsafe printing function16
Category
Security
Occurrences
16
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification15
Category
Security
Occurrences
15
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecuritywp redirect wp redirect8
Category
Security
Occurrences
8
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

WARNINGSecurityRequest data is not unslashed8
Category
Security
Occurrences
8
Severity
warning

Sample message

$_GET[&#039;s&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityslow db query meta key7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta query7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORSecurityException output is not escaped7
Category
Security
Occurrences
7
Severity
error

Sample message

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

ERRORSecurityLike Wildcards In Query With Placeholder6
Category
Security
Occurrences
6
Severity
error

Sample message

SQL wildcards for a LIKE query should be passed in through a replacement parameter and the variable part of the replacement should be escaped using "esc_like()". Found: LIKE '%%%s%%'.

WARNINGMaintainabilityslow db query tax query6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

WARNINGMaintainabilityNon-prefixed hook name6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;base_fs_loaded&quot;.

WARNINGSecurityInput is not sanitized6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;settings&#039;]

ERRORMaintainabilitystrip tags strip tags6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable {$entry_page} at &quot;SELECT ID, post_title FROM $wpdb-&gt;posts WHERE post_type=&#039;page&#039; AND ( post_content LIKE %s OR post_content LIKE %s ) AND ID &lt;&gt; {$entry_page};&quot;

ERRORSecurityQuoted Simple Placeholder5
Category
Security
Occurrences
5
Severity
error

Sample message

Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.17.0.2

22

Latest

Findings
2,438
Errors
671
Warnings
1,767
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

DocumentCloud

1k+ active installs

98
WP Document Revisions

2k+ active installs

98
Admin Help Docs

500 active installs

97
FileBird Document Library

5k+ active installs

76