Event post

The only WordPress plugin using native posts as full calendar events with begin and end date, geolocation, color and weather.

v5.12.0Bastien HoUpdated Added 1k+ installs86% rating
30
Score
355
Errors
100
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability27

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

455 findings

Security

275

10 issue groups

Maintainability

167

14 issue groups

I18n

3

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$EventPost'.171
Category
Security
Occurrences
171
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;19
Category
Maintainability
Occurrences
19
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "event_post_format_color".13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['post_type'] not unslashed before sanitization. Use wp_unslash() or similar10
Category
Security
Occurrences
10
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['post_type']8
Category
Security
Occurrences
8
Severity
warning

Sample message

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

Show 15 more
ERRORMaintainabilityblock api version too low5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

ERRORMaintainabilityShort PHP open tag found4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $_cat ..." but found "<?= $_cat ..."

ERRORSecuritySQL query is not prepared4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query meta key4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilityNo Explicit Version4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

WARNINGMaintainabilityNon-prefixed hook name3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;evenpost_init&quot;.

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

ERRORSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $query->request used in $wpdb->get_col()\n$query->request used without escaping.

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityslow db query meta query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecurityInput is not validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER[&#039;SCRIPT_NAME&#039;]. Check that the array index exists before using it.

WARNINGMaintainabilityDiscouraged PHP function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

wp_reset_query() is discouraged. Use wp_reset_postdata() instead.

External Connections

Potential connections found in static code analysis.

22 domains

Outbound calls

61

External assets

1

Incoming endpoints

20

Notable Domains

opengis.net5 · outbound
jqueryui.com4 · outbound
microformats.org4 · outbound
openweathermap.org4 · outbound
api.jqueryui.com3 · outbound

Platform / Reference Domains

schema.org12 · platform/reference
wordpress.org6 · platform/reference
codex.wordpress.org2 · platform/reference
developer.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_EventPostCalendarpublic

wp_ajax

wp_ajax_nopriv_EventPostCalendarDatepublic

wp_ajax

wp_ajax_nopriv_EventPostExportpublic

wp_ajax

wp_ajax_nopriv_EventPostFeedpublic

wp_ajax

wp_ajax_nopriv_EventPostNextPagepublic

wp_ajax

Admin AJAX endpoints15
admin_post_EventPostAddChildauthenticated

admin_post

admin_post_EventPostDeleteChildauthenticated

admin_post

wp_ajax_EventPostAddChildauthenticated

wp_ajax

wp_ajax_EventPostCalendarauthenticated

wp_ajax

wp_ajax_EventPostCalendarDateauthenticated

wp_ajax

wp_ajax_EventPostDeleteChildauthenticated

wp_ajax

wp_ajax_EventPostExportauthenticated

wp_ajax

wp_ajax_EventPostFeedauthenticated

wp_ajax

wp_ajax_EventPostGetLatLongauthenticated

wp_ajax

wp_ajax_EventPostHumanDateauthenticated

wp_ajax

wp_ajax_EventPostListauthenticated

wp_ajax

wp_ajax_EventPostMapauthenticated

wp_ajax

3 more hidden

Score History

First score snapshot

v5.12.0

30

Latest

Findings
455
Errors
355
Warnings
100
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins