Events Manager and WPML Compatibility

Integrates the Events Manager and WPML plugins together to provide a smoother multilingual experience (Requires Events Manager and WPML activated)

v2.1Marcus (aka @msykes)Updated Added 1k+ installs56% rating
36
Score
101
Errors
177
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance96
Maintainability68

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

278 findings

Security

147

13 issue groups

Maintainability

108

7 issue groups

I18n

18

3 issue groups

Performance

1

1 issue group

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.47
Category
Maintainability
Occurrences
47
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().45
Category
Maintainability
Occurrences
45
Severity
warning

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $current_site43
Category
Security
Occurrences
43
Severity
error

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $current_site->id used in $wpdb->get_col()\n$current_site->id used without escaping.21
Category
Security
Occurrences
21
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['job_id'] not unslashed before sanitization. Use wp_unslash() or similar18
Category
Security
Occurrences
18
Severity
warning

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'events-manager-wpml' but got 'events-manager'.14
Category
I18n
Occurrences
14
Severity
error

Sample message

Mismatched text domain. Expected 'events-manager-wpml' but got 'events-manager'.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $multisite_cond at " WHERE event_parent IS NOT NULL $multisite_cond)"8
Category
Security
Occurrences
8
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $multisite_cond at " WHERE event_parent IS NOT NULL $multisite_cond)"

ERRORSecurityQuoted Simple PlaceholderSimple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.5
Category
Security
Occurrences
5
Severity
error

Sample message

Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.

Show 15 more
WARNINGMaintainabilityNon-prefixed class5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGSecurityInput is not validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

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.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Events Manager and WPML Compatibility" - contains the restricted term "wp" which cannot be used at all in your plugin name.

ERRORSecurityMissing Replacements2
Category
Security
Occurrences
2
Severity
error

Sample message

Placeholders found in the query passed to $wpdb->prepare(), but no replacements found. Expected 1 replacement(s) parameters.

WARNINGMaintainabilityNon-prefixed function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORSecurityOutput is not escaped2
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 '__'.

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" 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.

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

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 'This version of the %s plugin requires at least %s to work properly, please update as soon as possible.'.

ERRORPerformanceSuppress Filters suppress filters1
Category
Performance
Occurrences
1
Severity
error

Sample message

Setting `suppress_filters` to `true` is prohibited.

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

Sample message

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

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

3

External assets

0

Incoming endpoints

1

Notable Domains

pixelite.com1 · outbound

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_wpml_save_job_ajaxauthenticated

wp_ajax

Score History

First score snapshot

v2.1

36

Latest

Findings
278
Errors
101
Warnings
177
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins