Restrict Usernames Emails Characters

Restrict the usernames, email addresses, characters and symbols or email from specific domain names or language in registration ...

v5.0.2BenaceurUpdated Added 1k+ installs90% rating100% support resolved
32
Score
327
Errors
367
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance98
Maintainability35

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

694 findings

Security

387

15 issue groups

Maintainability

157

7 issue groups

I18n

137

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<form action='' method='post'>$cel</form>"'.95
Category
Security
Occurrences
95
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<form action='' method='post'>$cel</form>"'.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.86
Category
Security
Occurrences
86
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $err_registration_user57
Category
I18n
Occurrences
57
Severity
error

Sample message

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

ERRORI18nMissing Translators CommentA 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.51
Category
I18n
Occurrences
51
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.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.43
Category
Maintainability
Occurrences
43
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES[&#039;import_file&#039;][&#039;name&#039;]43
Category
Security
Occurrences
43
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[&#039;import_file&#039;][&#039;name&#039;]

WARNINGSecurityRequest data is not unslashed$_GET[&#039;key&#039;] not unslashed before sanitization. Use wp_unslash() or similar43
Category
Security
Occurrences
43
Severity
warning

Sample message

$_GET[&#039;key&#039;] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilitywp function not compatible with requires wpFunction "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.0.0.43
Category
Maintainability
Occurrences
43
Severity
error

Sample message

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

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().41
Category
Maintainability
Occurrences
41
Severity
warning

Sample message

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

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

Sample message

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

Show 15 more
ERRORI18nMissing Arg Domain29
Category
I18n
Occurrences
29
Severity
error

Sample message

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

WARNINGSecurityNonce verification recommended27
Category
Security
Occurrences
27
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed hook name22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;bb_xprofile_field_character_max_length&quot;.

WARNINGSecurityInterpolated SQL is not prepared19
Category
Security
Occurrences
19
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $atv at &quot;SELECT * FROM {$this-&gt;prefix()}signups WHERE user_email = %s $atv &quot;

WARNINGSecurityInput is not validated16
Category
Security
Occurrences
16
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escaped9
Category
Security
Occurrences
9
Severity
warning

Sample message

Unescaped parameter $this-&gt;benrueeg_users_table() used in $wpdb-&gt;get_col()

ERRORSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

Unescaped parameter $command used in $wpdb->query()\n$command assigned unsafely at line 241.

WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
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.

WARNINGMaintainabilitySchema Change3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORSecuritySQL query is not prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGSecurityUnfinished Prepare3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer3
Category
Maintainability
Occurrences
3
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.

ERRORSecurityQuoted Simple Placeholder2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORSecurityUnsupported Placeholder2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v5.0.2

32

Latest

Findings
694
Errors
327
Warnings
367
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Dam Spam

1k+ active installs

100
Email Address Obfuscation

2k+ active installs

99
Allow Cyrillic Usernames

600 active installs

98
Users Registration Date

2k+ active installs

98