Domain Mapping System | Create Microsites with Multiple Alias Domains (multisite optional)

Domain Mapping System is the most powerful way to manage alias domains and map them to any published resource - creating Microsites with ease!

v2.2.7Wombat PluginsUpdated Added 2k+ installs90% rating0% support resolved
31
Score
113
Errors
233
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability28

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

346 findings

Maintainability

223

12 issue groups

Security

105

10 issue groups

I18n

6

3 issue groups

WARNINGMaintainabilityNon-prefixed namespaceNamespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "DMS\Includes".80
Category
Maintainability
Occurrences
80
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "DMS\Includes".

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_options()" requires WordPress 6.4.0, but your plugin minimum supported version is WordPress 5.1.0.36
Category
Maintainability
Occurrences
36
Severity
error

Sample message

Function "get_options()" requires WordPress 6.4.0, but your plugin minimum supported version is WordPress 5.1.0.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "dms_allowed_object_groups".29
Category
Maintainability
Occurrences
29
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "dms_allowed_object_groups".

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE[self::COOKIE_NAME] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

$_COOKIE[self::COOKIE_NAME] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data['host']'.12
Category
Security
Occurrences
12
Severity
error

Sample message

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

Show 15 more
WARNINGSecurityMissing nonce verification10
Category
Security
Occurrences
10
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[self::COOKIE_NAME]

ERRORSecurityDatabase parameter is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

Unescaped parameter $mapping_values_sql used in $wpdb->get_results()\n$mapping_values_sql assigned unsafely at line 41.

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;

ERRORMaintainabilityShort PHP open tag found3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilitySchema Change3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed global variable3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$et_builder_used_in_wc_shop&quot;.

WARNINGMaintainabilityerror log print r3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

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: &quot;DMS&quot;.

WARNINGSecuritywp redirect wp redirect2
Category
Security
Occurrences
2
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.

ERRORI18nMissing Translators Comment2
Category
I18n
Occurrences
2
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 Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $this->plugin_name

ERRORI18nToo Many Function Args2
Category
I18n
Occurrences
2
Severity
error

Sample message

Too many parameters passed to function "__()". Expected: 2 parameters, received: 3

Score History

First score snapshot

v2.2.7

31

Latest

Findings
346
Errors
113
Warnings
233
Check
2.0.0

Related Plugins

Plugin Report

1k+ active installs

99
Multisite Language Switcher

4k+ active installs

98
WP OPcache

10k+ active installs

88
Root Relative URLs

6k+ active installs

72
User Switching

200k+ active installs

63