Legal Terms and Conditions Popup for User Login and WooCommerce Checkout

Creates a popup with a scrollable window that will show your own custom Terms and Conditions when users logs in to your website.

v2.1.2Árpád Lehel MátyusUpdated Added 700 installs100% rating
23
Score
524
Errors
237
Warnings
+0
Change

Category Scores

Security0
Repo85
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

761 findings

Security

413

8 issue groups

Maintainability

227

13 issue groups

I18n

89

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" {$is_disabled_sub_option}>"'.251
Category
Security
Occurrences
251
Severity
error

Sample message

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

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().53
Category
I18n
Occurrences
53
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $prepared_sql used in $wpdb->get_results()\n$prepared_sql assigned unsafely at line 133.25
Category
Security
Occurrences
25
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE['tpul_visitor_id'] not unslashed before sanitization. Use wp_unslash() or similar17
Category
Security
Occurrences
17
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['tpul_visitor_id']16
Category
Security
Occurrences
16
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['tpul_visitor_id']

Show 15 more
ERRORMaintainabilitydate date15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Text15
Category
I18n
Occurrences
15
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $error_message

WARNINGMaintainabilityerror log print r13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

ERRORMaintainabilitystrip tags strip tags11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

WARNINGI18nNo Html Wrapped Strings11
Category
I18n
Occurrences
11
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<b style="color: red;">WARNING! This can not be undone. Running the reset will make the popup show for every user again. Forcing them to accept your terms again.</b>'

ERRORI18nNo Empty Strings10
Category
I18n
Occurrences
10
Severity
error

Sample message

The $text text string should have translatable content. Found: " "

WARNINGMaintainabilityNon-prefixed hook name8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Function "wp_date()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 5.0.0.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitycurl curl close4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl exec4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl init4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilityfile system operations fclose4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityMissing direct file access protection4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

34 domains

Outbound calls

146

External assets

1

Incoming endpoints

0

Notable Domains

tools.ietf.org42 · outbound
php.net19 · outbound
curl.haxx.se4 · outbound
docs.guzzlephp.org4 · outbound
termspopup.com4 · outbound
bugs.php.net3 · outbound

Platform / Reference Domains

github.com10 · platform/reference
w3.org3 · platform/reference
wordpress.org2 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

matyus.me25 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v2.1.2

23

Latest

Findings
761
Errors
524
Warnings
237
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

Firebase Authentication

500 active installs

100
Logged-in-only

700 active installs

100
Login Security Captcha

10k+ active installs

100
Popup for Elementor

700 active installs

100
Shibboleth

3k+ active installs

100