Countdown Timer

This plugin allows you to setup a series of dates to count to or from in terms of years, months, weeks, days, hours, minutes, and/or seconds.

v3.0.7fergbrainUpdated Added 900 installs94% rating
33
Score
311
Errors
17
Warnings
+0
Change

Category Scores

Security0
Repo76
Performance100
Maintainability57

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

328 findings

Security

141

4 issue groups

I18n

137

3 issue groups

Maintainability

46

12 issue groups

Repo Compliance

3

3 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'countdown-timer' but got "fergcorp_countdownTimer".99
Category
I18n
Occurrences
99
Severity
error

Sample message

Mismatched text domain. Expected 'countdown-timer' but got "fergcorp_countdownTimer".

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"fergcorp_countdownTimer_oneTimeEvent[{$event_count}][date]"'.89
Category
Security
Occurrences
89
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"fergcorp_countdownTimer_oneTimeEvent[{$event_count}][date]"'.

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

Sample message

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

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.37
Category
I18n
Occurrences
37
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.22
Category
Maintainability
Occurrences
22
Severity
error

Sample message

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

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().14
Category
Security
Occurrences
14
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

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

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().

WARNINGMaintainabilityerror log var exportvar_export() found. Debug code should not normally be used in production.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

var_export() found. Debug code should not normally be used in production.

Show 13 more
ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityForbidden PHP function found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

The use of function wp_get_sidebars_widgets() is forbidden

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

ERRORMaintainabilitytimezone change date default timezone set1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Using date_default_timezone_set() and similar isn't allowed, instead use WP internal timezone support.

WARNINGSecurityPlugin menu slug uses __FILE__1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

ERRORMaintainabilityrand rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_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.

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1\$s, %2\$s", but got "%s, %s" in "If you want to insert the Countdown Timer into a page or post, you can use the following <abbr %s %s>shortcodes</abbr> to return all or a limited number of Countdown Timers, respectively:".

ERRORSupply ChainHidden files included1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

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

Sample message

Tested up to: 5.1 < 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 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.

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.

10 domains

Outbound calls

22

External assets

1

Incoming endpoints

0

Notable Domains

google.com5 · outbound
andrewferguson.net3 · outbound
us2.php.net3 · outbound
stackoverflow.com2 · outbound
amazon.com1 · outbound
bavotasan.com1 · outbound

Platform / Reference Domains

w3.org4 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

paypal.com2 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v3.0.7

33

Latest

Findings
328
Errors
311
Warnings
17
Check
2.0.0

Relationship Map

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

36 nodes

Related Plugins

Events Block

500 active installs

100
Hide/Remove Metadata

20k+ active installs

100
Post View Count

4k+ active installs

99
Date Published Shortcode

500 active installs

98