MWW Disclaimer Buttons

The FTC requires that you put disclosures at the top of your post if you were compensated in any way (affiliate links, free products, or payment).

v3.51Jennifer MossUpdated Added 400 installs100% rating
48
Score
21
Errors
16
Warnings
+0
Change

Category Scores

Security12
Repo91
Performance100
Maintainability89

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

37 findings

Security

21

6 issue groups

I18n

8

2 issue groups

Maintainability

6

6 issue groups

Repo Compliance

2

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 '$args'.8
Category
Security
Occurrences
8
Severity
error

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'mww-disclaimer-buttons' but got 'example'.6
Category
I18n
Occurrences
6
Severity
error

Sample message

Mismatched text domain. Expected 'mww-disclaimer-buttons' but got 'example'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['disc-affiliate']4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['disc-affiliate'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['disc-affiliate']. Check that the array index exists before using it.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['disc-affiliate']. Check that the array index exists before using it.

ERRORI18nNo Empty StringsThe $text text string should have translatable content. Found: ''2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().1
Category
Security
Occurrences
1
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityDiscouraged PHP functionThe use of function ini_set() is discouraged1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function ini_set() is discouraged

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

Sample message

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

WARNINGMaintainabilityprevent path disclosure error reportingerror_reporting() can lead to full path disclosure.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

error_reporting() can lead to full path disclosure.

Show 6 more
ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilityNo Explicit Version1
Category
Maintainability
Occurrences
1
Severity
error

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.

ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

External Connections

Potential connections found in static code analysis.

3 domains

Outbound calls

3

External assets

0

Incoming endpoints

0

Notable Domains

ftc.gov1 · outbound
mosswebworks.com1 · outbound

Platform / Reference Domains

wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v3.51

48

Latest

Findings
37
Errors
21
Warnings
16
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins