The Events Calendar Shortcode & Block

Add shortcode, block and Elementor widget functionality to The Events Calendar Plugin, so you can easily list and promote your events anywhere.

v4.0.0Event Calendar NewsletterUpdated 2026-06-07Added Oct 10, 201410k+ installs94% rating
36
Score
70
Errors
127
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability55

Top Issues by Category

maintainability108
i18n51
security36

Issues Details

197 issues found in latest scan

WARNING73
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'ecs_event_list_output_custom_' . strtolower( trim( $contentorder ) )".

ERROR24
WordPress.WP.I18n.MissingTranslatorsComment

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.

ERROR15
WordPress.WP.I18n.UnorderedPlaceholdersText

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%sGet more date-related options%s to show events from a specific year, number of days, and even a specific date range.'.

WARNING12
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

WARNING12
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING8
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

ERROR7
WordPress.Security.EscapeOutput.UnsafePrintingFunction

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

WARNING7
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

ERROR7
WordPress.WP.I18n.TextDomainMismatch

Mismatched text domain. Expected 'the-events-calendar-shortcode' but got 'text-domain'.

ERROR5
missing_direct_file_access_protection

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

ERROR4
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div {$this->render_attributes( '_root' )}>"'.

WARNING4
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_POST[&#039;nonce&#039;]

ERROR2
WordPress.DateTime.RestrictedFunctions.date_date

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

WARNING2
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING2
WordPress.WP.EnqueuedResourceParameters.NotInFooter

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.

ERROR2
WordPress.WP.I18n.MissingArgDomain

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

WARNING1
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

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.

WARNING1
WordPress.DB.SlowDBQuery.slow_db_query_meta_key

Detected usage of meta_key, possible slow query.

WARNING1
WordPress.DB.SlowDBQuery.slow_db_query_meta_query

Detected usage of meta_query, possible slow query.

WARNING1
WordPress.DB.SlowDBQuery.slow_db_query_tax_query

Detected usage of tax_query, possible slow query.

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Events_Calendar_Shortcode&quot;.

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;ECS_RATING_OPTION_NAME&quot;.

ERROR1
WordPress.WP.AlternativeFunctions.strip_tags_strip_tags

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

WARNING1
WordPress.WP.I18n.LowLevelTranslationFunction

Use of the &quot;translate()&quot; function is reserved for low-level API usage.

ERROR1
WordPress.WP.I18n.NonSingularStringLiteralText

The $text parameter must be a single text string literal. Found: wp_kses_post( $atts['message'] )

Latest Snapshot

Findings

197

Errors

70

Warnings

127

Score History

First score snapshot

First scan completed Jun 20, 2026

v4.0.0 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v4.0.0

36

Latest

Findings
197
Errors
70
Warnings
127
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins