ActiveDEMAND

ActiveDEMAND, the easy way to add Web Forms, Dynamic Content, and Popups to your WordPress site.

v0.2.47ActiveDEMAND Online Agency Marketing AutomationUpdated Added 1k+ installs100% rating
32
Score
157
Errors
161
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability46

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

318 findings

Security

150

13 issue groups

Maintainability

132

10 issue groups

I18n

29

2 issue groups

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "delete_user_meta()" requires WordPress 3.0.0, but your plugin minimum supported version is WordPress 2.8.0.46
Category
Maintainability
Occurrences
46
Severity
error

Sample message

Function "delete_user_meta()" requires WordPress 3.0.0, but your plugin minimum supported version is WordPress 2.8.0.

WARNINGSecurityRequest data is not unslashed$_COOKIE['acf_session_' . $object_id] not unslashed before sanitization. Use wp_unslash() or similar34
Category
Security
Occurrences
34
Severity
warning

Sample message

$_COOKIE['acf_session_' . $object_id] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nText Domain MismatchMismatched text domain. Expected 'activedemand' but got 'active-demand'.26
Category
I18n
Occurrences
26
Severity
error

Sample message

Mismatched text domain. Expected 'activedemand' but got 'active-demand'.

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_COOKIE['active_demand_cookie_cart']. Check that the array index exists before using it.14
Category
Security
Occurrences
14
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $table_access at LEFT JOIN $table_access a ON ar.id_access = a.id_access\r\n11
Category
Security
Occurrences
11
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $table_access at LEFT JOIN $table_access a ON ar.id_access = a.id_access\r\n

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table_access used in $wpdb->get_row()\n$table_access assigned unsafely at line 1004.10
Category
Security
Occurrences
10
Severity
warning

Sample message

Unescaped parameter $table_access used in $wpdb->get_row()\n$table_access assigned unsafely at line 1004.

Show 15 more
ERRORSecuritySetting is missing a sanitization callback9
Category
Security
Occurrences
9
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityNot In Footer8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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.

WARNINGMaintainabilityMissing Version7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed constant5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

ERRORSecurityUnsupported Placeholder4
Category
Security
Occurrences
4
Severity
error

Sample message

Unsupported placeholder used in $wpdb->prepare(). Found: "%')\r\n".

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

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.

ERRORSecuritySQL query is not prepared2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitized2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['custom_url_content']

WARNINGSecurityReplacements Wrong Number1
Category
Security
Occurrences
1
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb->prepare(). Found 4 replacement parameters, expected 2.

WARNINGSecurityUnfinished Prepare1
Category
Security
Occurrences
1
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
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.

External Connections

Potential connections found in static code analysis.

8 domains

Outbound calls

15

External assets

0

Incoming endpoints

6

Notable Domains

noelboss.com2 · outbound
noelboss.github.io2 · outbound
1jp.cc1 · outbound

Platform / Reference Domains

github.com2 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints6
wp_ajax_activedemand_access_rules_saveauthenticated

wp_ajax

wp_ajax_activedemand_delete_custom_url_contentauthenticated

wp_ajax

wp_ajax_get_authenticated

wp_ajax

wp_ajax_reset_ad_form_linkageauthenticated

wp_ajax

wp_ajax_show_form_mapperauthenticated

wp_ajax

wp_ajax_update_ad_form_linkageauthenticated

wp_ajax

Score History

First score snapshot

v0.2.47

32

Latest

Findings
318
Errors
157
Warnings
161
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins