Buckets

A widgets alternative that lets you place content anywhere easily.

v0.3.9matthewordieUpdated Added 500 installs100% rating
34
Score
68
Errors
76
Warnings
+0
Change

Category Scores

Security0
Repo80
Performance100
Maintainability58

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

144 findings

Maintainability

68

14 issue groups

Security

49

9 issue groups

I18n

19

2 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$class'.30
Category
Security
Occurrences
30
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'acf/fields/buckets/query/key=' . $field['key']".22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'acf/fields/buckets/query/key=' . $field['key']".

ERRORI18nText Domain MismatchMismatched text domain. Expected 'buckets' but got 'acf'.12
Category
I18n
Occurrences
12
Severity
error

Sample message

Mismatched text domain. Expected 'buckets' but got 'acf'.

WARNINGMaintainabilityMissing VersionResource 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.9
Category
Maintainability
Occurrences
9
Severity
warning

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.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().7
Category
I18n
Occurrences
7
Severity
error

Sample message

Missing $domain parameter in function call to __().

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

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNot In FooterIn 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.5
Category
Maintainability
Occurrences
5
Severity
warning

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.

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

Sample message

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

Show 15 more
WARNINGMaintainabilityslow db query tax query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORSecurityUnsafe printing function3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['bucket_title']

WARNINGSecurityRequest data is not unslashed3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_POST['bucket_title'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed class2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityNonce verification recommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityDiscouraged WordPress constant usage: TEMPLATEPATH2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Found usage of constant "TEMPLATEPATH". Use get_template_directory() instead.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "get_current_screen()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.

WARNINGMaintainabilityShort URL found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Short URL detected (goo.gl). Use full URLs instead of URL shorteners.

ERRORSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $sc at "SELECT ID, post_title FROM $wpdb->posts WHERE post_type!='revision' AND post_content LIKE '%$sc%'"

WARNINGMaintainabilityslow db query meta query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

5

External assets

0

Incoming endpoints

4

Notable Domains

matthewrestorff.com4 · outbound
goo.gl1 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_acf/fields/buckets/query_postspublic

wp_ajax

wp_ajax_nopriv_acf/fields/relationship/querypublic

wp_ajax

Admin AJAX endpoints2
wp_ajax_acf/fields/buckets/query_postsauthenticated

wp_ajax

wp_ajax_acf/fields/relationship/queryauthenticated

wp_ajax

Score History

First score snapshot

v0.3.9

34

Latest

Findings
144
Errors
68
Warnings
76
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins

ACF Field For CF7

10k+ active installs

99
Custom Currency Sign

600 active installs

99
Customize Admin

4k+ active installs

99
ACF Clone Repeater

1k+ active installs

98