WC Search Orders By Product

A simple plugin that helps you search your WooCommerce orders by product.

v3.2akshayaswaroopUpdated Added 800 installs86% rating
40
Score
47
Errors
66
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability85

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

113 findings

Security

69

10 issue groups

Maintainability

21

6 issue groups

I18n

20

3 issue groups

Repo Compliance

3

3 issue groups

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.21
Category
Security
Occurrences
21
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 '$WC_Search_Orders_By_Product'.17
Category
Security
Occurrences
17
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $WC_Search_Orders_By_Product->text_domain17
Category
I18n
Occurrences
17
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $WC_Search_Orders_By_Product->text_domain

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.7
Category
Maintainability
Occurrences
7
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().7
Category
Maintainability
Occurrences
7
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 $order_id_list used in $wpdb->get_col()\n$order_id_list assigned unsafely at line 225.5
Category
Security
Occurrences
5
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$order_id_list} at \t\t\tWHERE items.order_id IN ( {$order_id_list} )\n5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$order_id_list} at \t\t\tWHERE items.order_id IN ( {$order_id_list} )\n

WARNINGSecurityRequest data is not unslashed$_GET['search_product_type'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WC Search Orders By Product" - contains the restricted term "wc" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WC Search Orders By Product" - contains the restricted term "wc" which cannot be used at all in your plugin name.

Show 12 more
ERRORSecuritySQL query is not prepared2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "before_wc_search_orders_by_product_init".

ERRORSecurityUnsafe printing function2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitized2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$content".

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "$name".

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.

ERRORRepo Compliancereadme invalid donate link1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Donate link" header in the readme file must be a valid URL.

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.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

11

External assets

0

Incoming endpoints

2

Notable Domains

wpheka.com9 · outbound

Platform / Reference Domains

w3.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints2
wp_ajax_save_sobp_plugin_dataauthenticated

wp_ajax

wp_ajax_wpheka_sobp_submit_deactivationauthenticated

wp_ajax

Score History

First score snapshot

v3.2

40

Latest

Findings
113
Errors
47
Warnings
66
Check
2.0.0

Relationship Map

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

25 nodes

Related Plugins

WC Moneris Payment Gateway

900 active installs

35