MaxButtons – Create buttons

Maxbuttons is the best and easiest button plugin for WordPress. Within minutes you can create beautiful buttons, share buttons and social icons.

v9.8.5maxfoundryUpdated Added 70k+ installs98% rating
23
Score
655
Errors
409
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,064 findings

Security

653

11 issue groups

Maintainability

307

10 issue groups

I18n

61

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a class='nav-tab $active' href='$link'>$name</a>"'.280
Category
Security
Occurrences
280
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a class='nav-tab $active' href='$link'>$name</a>"'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$admin&quot;.148
Category
Maintainability
Occurrences
148
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$admin&quot;.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.124
Category
Security
Occurrences
124
Severity
error

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$name {$val} is not a number."'.91
Category
Security
Occurrences
91
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$name {$val} is not a number."'.

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;mb-url-&#039; . $button_id&quot;.43
Category
Maintainability
Occurrences
43
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;mb-url-&#039; . $button_id&quot;.

WARNINGMaintainabilityerror log trigger errortrigger_error() found. Debug code should not normally be used in production.36
Category
Maintainability
Occurrences
36
Severity
warning

Sample message

trigger_error() found. Debug code should not normally be used in production.

WARNINGSecurityRequest data is not unslashed$_GET[&#039;action&#039;] not unslashed before sanitization. Use wp_unslash() or similar27
Category
Security
Occurrences
27
Severity
warning

Sample message

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

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

Sample message

Use of a direct database call is discouraged.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $sql23
Category
Security
Occurrences
23
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $sql

Show 15 more
WARNINGMaintainabilityNo Caching22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment21
Category
I18n
Occurrences
21
Severity
error

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.

ERRORSecurityDatabase parameter is not escaped16
Category
Security
Occurrences
16
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain16
Category
I18n
Occurrences
16
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

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

WARNINGSecurityInput is not validated13
Category
Security
Occurrences
13
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET[&quot;page&quot;]. Check that the array index exists before using it.

ERRORI18nUnordered Placeholders Text13
Category
I18n
Occurrences
13
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%sSupport Forums%s.'.

WARNINGSecurityMissing nonce verification12
Category
Security
Occurrences
12
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized11
Category
Security
Occurrences
11
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&quot;page&quot;]

ERRORI18nText Domain Mismatch11
Category
I18n
Occurrences
11
Severity
error

Sample message

Mismatched text domain. Expected 'maxbuttons' but got "maxbuttons-pro".

ERRORSecuritySetting is missing a sanitization callback10
Category
Security
Occurrences
10
Severity
error

Sample message

Sanitization missing for register_setting().

ERRORMaintainabilityrand mt rand6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

mt_rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilityfile system operations fwrite5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

WARNINGMaintainabilityNon-prefixed constant4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityfile system operations fclose4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

External Connections

Not analyzed yet.

Score History

First score snapshot

v9.8.5

23

Latest

Findings
1,064
Errors
655
Warnings
409
Check
2.0.0

Relationship Map

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

27 nodes

Related Plugins

WP-Paginate

20k+ active installs

35
Media Library Folders

10k+ active installs

24
MaxGalleria

2k+ active installs

27