GD bbPress Attachments

Implement attachments upload to the topics and replies in bbPress plugin through a media library and add additional forum-based controls.

v4.9.4Milan PetrovicUpdated Added 6k+ installs86% rating
35
Score
2
Errors
10
Warnings
+0
Change

Category Scores

Security81
Repo90
Performance100
Maintainability94

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

12 findings

Security

6

2 issue groups

Maintainability

4

4 issue groups

I18n

1

1 issue group

Supply Chain

1

1 issue group

WARNINGSecuritywp redirect wp redirectwp_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.5
Category
Security
Occurrences
5
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.

WARNINGI18nload plugin textdomain Foundload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGSecurityUnescaped DBParameterUnescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 41.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 41.

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

Sample message

Use of a direct database call is discouraged.

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

Sample message

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

ERRORSupply Chainhidden filesHidden files are not permitted.1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

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

Sample message

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

WARNINGMaintainabilityunexpected markdown fileUnexpected markdown file "history.md" detected in plugin root. Only specific markdown files are expected in production plugins.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Unexpected markdown file "history.md" detected in plugin root. Only specific markdown files are expected in production plugins.

Score History

First score snapshot

v4.9.4

35

Latest

Findings
12
Errors
2
Warnings
10
Check
2.0.0

Related Plugins

File Upload Types by WPForms

30k+ active installs

98
98
Unique Headers

10k+ active installs

97
Attachment Importer

3k+ active installs

40