Advanced Datepicker – Restricts Date for Contact Form 7

Restrict Dates is a Contact Form 7 add-on that restricts users from selecting specific dates in your Contact Form 7 date picker field.

v2.0.4add-ons.orgUpdated Added 400 installs100% rating100% support resolved
72
Score
228
Errors
11
Warnings
+0
Change

Category Scores

Security64
Repo100
Performance100
Maintainability59

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

239 findings

Maintainability

181

7 issue groups

I18n

52

3 issue groups

Security

6

4 issue groups

ERRORMaintainabilitywp function not compatible with requires wpFunction "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 2.0.0.173
Category
Maintainability
Occurrences
173
Severity
error

Sample message

Function "__()" requires WordPress 2.1.0, but your plugin minimum supported version is WordPress 2.0.0.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'restrict-date-for-contact-form-7' but got "contact-form-7-restrict-dates ".49
Category
I18n
Occurrences
49
Severity
error

Sample message

Mismatched text domain. Expected 'restrict-date-for-contact-form-7' but got "contact-form-7-restrict-dates ".

WARNINGMaintainabilityNot In FooterIn 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.3
Category
Maintainability
Occurrences
3
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.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$desc_link'.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 '$desc_link'.

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

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators CommentA 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.2
Category
I18n
Occurrences
2
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.

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "YEEADDON_CF7_RESTRICT_DATES_PLUGIN_PATH".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

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

Show 4 more
WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_POST["id"] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
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.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

9 domains

Outbound calls

20

External assets

0

Incoming endpoints

1

Notable Domains

add-ons.org9 · outbound
api.jqueryui.com2 · outbound
cdn.add-ons.org2 · outbound
jqueryui.com2 · outbound
api.ninjaforms.com1 · outbound
contactform7.com1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_yeekit_dismiss_notyauthenticated

wp_ajax

Score History

First score snapshot

v2.0.4

72

Latest

Findings
239
Errors
228
Warnings
11
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins