Affiliate Super Assistent

The flexible plugin for WordPress affiliates working with Amazon. Create your own templates, embed products by use of [asa]ASIN[/asa] shortcodes

v1.10.2TimoUpdated Added 2k+ installs92% rating
23
Score
1,280
Errors
267
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,547 findings

Security

713

8 issue groups

I18n

395

3 issue groups

Maintainability

367

14 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'amazonsimpleadmin' but got "asa1".356
Category
I18n
Occurrences
356
Severity
error

Sample message

Mismatched text domain. Expected 'amazonsimpleadmin' but got "asa1".

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.237
Category
Security
Occurrences
237
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 '" $max"'.199
Category
Security
Occurrences
199
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['nonce'] not unslashed before sanitization. Use wp_unslash() or similar49
Category
Security
Occurrences
49
Severity
warning

Sample message

$_GET['nonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "AmazonSimpleAdmin".36
Category
Maintainability
Occurrences
36
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_ENV['MACHTYPE']31
Category
Security
Occurrences
31
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_ENV['MACHTYPE']

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES['importfile']['tmp_name']. Check that the array index exists before using it.28
Category
Security
Occurrences
28
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES['importfile']['tmp_name']. Check that the array index exists before using it.

Show 15 more
ERRORI18nMissing Translators Comment25
Category
I18n
Occurrences
25
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.

ERRORMaintainabilitycurl curl setopt19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGSecurityMissing nonce verification16
Category
Security
Occurrences
16
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg Domain14
Category
I18n
Occurrences
14
Severity
error

Sample message

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

WARNINGSecurityNonce verification recommended13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed hook name12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'asa_admin_pointers-' . $screen_id".

ERRORMaintainabilityfile system operations fopen11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations is writable11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fclose10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

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

ERRORMaintainabilitydate date9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilityfile system operations fwrite8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

WARNINGMaintainabilityerror log error log7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log trigger error7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlink7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORMaintainabilityparse url parse url6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.10.2

23

Latest

Findings
1,547
Errors
1,280
Warnings
267
Check
2.0.0

Related Plugins