Delivery & Pickup Date Time for WooCommerce

Let customers choose delivery or pickup date and time directly on the WooCommerce checkout page.

v1.3.86CodeRockzUpdated Added 5k+ installs98% rating
30
Score
439
Errors
435
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability27

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

874 findings

Security

466

7 issue groups

Maintainability

331

8 issue groups

I18n

77

3 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$currency_code".138
Category
Maintainability
Occurrences
138
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.121
Category
Security
Occurrences
121
Severity
error

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.104
Category
Maintainability
Occurrences
104
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE['coderockz_woo_delivery_option_time_pickup'] not unslashed before sanitization. Use wp_unslash() or similar86
Category
Security
Occurrences
86
Severity
warning

Sample message

$_COOKIE['coderockz_woo_delivery_option_time_pickup'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.75
Category
Security
Occurrences
75
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 '$column'.71
Category
Security
Occurrences
71
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['coderockz_woo_delivery_option_time_pickup']60
Category
Security
Occurrences
60
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['coderockz_woo_delivery_option_time_pickup']

ERRORMaintainabilitywp function not compatible with requires wpFunction "current_datetime()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.0.1.57
Category
Maintainability
Occurrences
57
Severity
error

Sample message

Function "current_datetime()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.0.1.

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'woo-delivery' but got 'coderockz-woo-delivery'.39
Category
I18n
Occurrences
39
Severity
error

Sample message

Mismatched text domain. Expected 'woo-delivery' but got 'coderockz-woo-delivery'.

Show 8 more
ERRORI18nNon Singular String Literal Text37
Category
I18n
Occurrences
37
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $checkout_date_notice

WARNINGMaintainabilityslow db query meta query16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilityMissing direct file access protection9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityprevent path disclosure error reporting3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

error_reporting() can lead to full path disclosure.

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.

ERRORSecurityException output is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked term1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "woo-delivery" - contains the restricted term "woo" and cannot be used to begin your plugin slug. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "woo" elsewhere in your plugin slug, such as "... for woo".

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.3.86

30

Latest

Findings
874
Errors
439
Warnings
435
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins