Restrict User Access – Ultimate Membership & Content Protection

Create Access Levels and restrict any post, page, category, etc. Supports bbPress, BuddyPress, WooCommerce, WPML, and more.

v2.8Joachim JensenUpdated Added 10k+ installs86% rating
22
Score
977
Errors
1,840
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance87
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,817 findings

Maintainability

1,577

10 issue groups

Security

991

11 issue groups

I18n

190

3 issue groups

Performance

5

1 issue group

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.679
Category
Security
Occurrences
679
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.125
Category
Maintainability
Occurrences
125
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.96
Category
Maintainability
Occurrences
96
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_Admin_Menu_Manager&quot;.83
Category
Maintainability
Occurrences
83
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_Admin_Menu_Manager&quot;.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: WPCA_DOMAIN65
Category
I18n
Occurrences
65
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;redirect_to&#039;]64
Category
Security
Occurrences
64
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;redirect_to&#039;]

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityNon-prefixed hook name42
Category
Maintainability
Occurrences
42
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;rua/user_level/&#039; . $event&quot;.

WARNINGMaintainabilityDirect Query39
Category
Maintainability
Occurrences
39
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching37
Category
Maintainability
Occurrences
37
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment34
Category
I18n
Occurrences
34
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.

WARNINGSecurityMissing nonce verification28
Category
Security
Occurrences
28
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validated27
Category
Security
Occurrences
27
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared26
Category
Security
Occurrences
26
Severity
error

Sample message

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

ERRORSecurityUnsafe printing function23
Category
Security
Occurrences
23
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection15
Category
Maintainability
Occurrences
15
Severity
error

Sample message

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

ERRORSecurityException output is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

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

ERRORSecurityQuoted Simple Placeholder6
Category
Security
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $exclude_query at $exclude_query\n

ERRORMaintainabilitystrip tags strip tags5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version5
Category
Maintainability
Occurrences
5
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.

ERRORPerformanceSuppress Filters suppress filters5
Category
Performance
Occurrences
5
Severity
error

Sample message

Setting `suppress_filters` to `true` is prohibited.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.8

22

Latest

Findings
2,817
Errors
977
Warnings
1,840
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins