Add & Replace Affiliate Links for Amazon

Add & Replace Affiliate Links for Amazon plugin helps you to add or update Amazon Associate tag parameters in links.

v1.0.6The Website FlipUpdated Added 600 installs64% rating
40
Score
39
Errors
52
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability81

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

91 findings

Security

47

7 issue groups

Maintainability

41

6 issue groups

Repo Compliance

2

2 issue groups

I18n

1

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'>$title</a>\n'.19
Category
Security
Occurrences
19
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'>$title</a>\n'.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.16
Category
Maintainability
Occurrences
16
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().13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $sql used in $wpdb->query()\n$sql assigned unsafely at line 11.7
Category
Security
Occurrences
7
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $TABLE_NAME used in $wpdb-&gt;get_results()\n$TABLE_NAME assigned unsafely at line 227.5
Category
Security
Occurrences
5
Severity
warning

Sample message

Unescaped parameter $TABLE_NAME used in $wpdb-&gt;get_results()\n$TABLE_NAME assigned unsafely at line 227.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $TABLE_NAME at &quot;SELECT * FROM $TABLE_NAME order by id desc limit 1;&quot;5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $TABLE_NAME at &quot;SELECT * FROM $TABLE_NAME order by id desc limit 1;&quot;

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;is-scheduled&#039;]. Check that the array index exists before using it.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;is-scheduled&#039;]. Check that the array index exists before using it.

Show 6 more
WARNINGSecurityRequest data is not unslashed2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_POST[&#039;is-scheduled&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityparse url parse url1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORI18nText Domain Mismatch1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'add-replace-affiliate-links-for-amazon' but got 'WpAdminStyle'.

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

Sample message

Tested up to: 5.8 < 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 no short description present1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is missing. An excerpt was generated from your main plugin description.

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

14

External assets

0

Incoming endpoints

7

Notable Domains

thewebsiteflip.com6 · outbound
go.easywins.io2 · outbound
amazon.com1 · outbound
amzn.to1 · outbound

Platform / Reference Domains

wordpress.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints7
wp_ajax_uralp_backupauthenticated

wp_ajax

wp_ajax_uralp_expandauthenticated

wp_ajax

wp_ajax_uralp_get_progressauthenticated

wp_ajax

wp_ajax_uralp_no_affiliateauthenticated

wp_ajax

wp_ajax_uralp_no_followauthenticated

wp_ajax

wp_ajax_uralp_restoreauthenticated

wp_ajax

wp_ajax_uralp_updateauthenticated

wp_ajax

Score History

First score snapshot

v1.0.6

40

Latest

Findings
91
Errors
39
Warnings
52
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins