Agoda Affiliate Partners Text Link Generator

This tool was built so that our affiliate partners can easily generate text links in Wordpress.

v1.0affiliateproductUpdated Added 500 installs0% rating
42
Score
4
Errors
40
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability92

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

44 findings

Security

31

8 issue groups

Maintainability

10

5 issue groups

Repo Compliance

2

2 issue groups

I18n

1

1 issue group

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $cid at "INSERT INTO $table_name (user_id,cid) VALUES ($current_user_id,$cid) ON DUPLICATE KEY UPDATE cid = %d"6
Category
Security
Occurrences
6
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $cid at "INSERT INTO $table_name (user_id,cid) VALUES ($current_user_id,$cid) ON DUPLICATE KEY UPDATE cid = %d"

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['cid']5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['cid']

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['cid'] not unslashed before sanitization. Use wp_unslash() or similar5
Category
Security
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table_name used in $wpdb->get_results()\n$table_name assigned unsafely at line 74.3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 6 more
WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
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.

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
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.

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

Sample message

Tested up to: 4.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 too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

ERRORI18ntextdomain invalid format1
Category
I18n
Occurrences
1
Severity
error

Sample message

The "Text Domain" header in the plugin file should only contain lowercase letters, numbers, and hyphens. Found "Agoda Affiliate Partners Text Link Generator".

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

9

External assets

0

Incoming endpoints

4

Notable Domains

agoda.com1 · outbound
partners.agoda.com1 · outbound
sherpa.agoda.com1 · outbound

Platform / Reference Domains

gnu.org6 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints4
wp_ajax_agdtlwp_call_search_apiauthenticated

wp_ajax

wp_ajax_agdtlwp_textlink_loadauthenticated

wp_ajax

wp_ajax_agdtlwp_textlink_saveauthenticated

wp_ajax

wp_ajax_agdtlwp_textlink_trackauthenticated

wp_ajax

Score History

First score snapshot

v1.0

42

Latest

Findings
44
Errors
4
Warnings
40
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

WP Tripadvisor Review Widgets

20k+ active installs

95
42
WP Hotel Booking

7k+ active installs

24