Shortcode to show any current, past, and future date or time. Display this, previous, or next year, month, day, etc.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
54
4 issue groups
I18n
32
5 issue groups
Maintainability
14
4 issue groups
Repo Compliance
2
2 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$del_set_id'.49
- Category
- Security
- Occurrences
- 49
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$del_set_id'.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-date-and-time-shortcode' but got 'denra-plugins'.28
- Category
- I18n
- Occurrences
- 28
- Severity
- error
Sample message
Mismatched text domain. Expected 'wp-date-and-time-shortcode' but got 'denra-plugins'.
ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGSecurityRecommendedProcessing form data without nonce verification.3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Date and Time Shortcode" - contains the restricted term "wp" 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 - "WP Date and Time Shortcode" - contains the restricted term "wp" which cannot be used at all in your plugin name.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_class".2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_class".
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['page']1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['page']
WARNINGSecurityMissing Unslash$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
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.1
- Category
- I18n
- Occurrences
- 1
- 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.
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->text_domain1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $this->text_domain
Show 5 moreShow less
ERRORI18nNon Singular String Literal Text1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $this->data['Name']
WARNINGRepo Complianceplugin header invalid domain path1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Domain Path" header in the plugin file must start with forward slash.
ERRORRepo Complianceplugin header no license1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
WARNINGI18ntextdomain mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "denra-wp-dt", expected "wp-date-and-time-shortcode".
ERRORMaintainabilitywp function not compatible with requires wp1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Function "wp_timezone_string()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.0.0.
Score History
First score snapshot
v2.7.1
40
Latest
- Findings
- 102
- Errors
- 90
- Warnings
- 12
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 40 | 102 | 90 | 12 | v2.7.1 | 2.0.0 |