JSM Show User Metadata

Show user metadata in a metabox when editing users - a great tool for debugging issues with user metadata.

v4.9.0JS MorissetUpdated Added 3k+ installs100% rating
40
Score
14
Errors
64
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance98
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

78 findings

Security

46

7 issue groups

Maintainability

24

12 issue groups

I18n

7

3 issue groups

Performance

1

1 issue group

WARNINGSecurityRecommendedProcessing form data without nonce verification.15
Category
Security
Occurrences
15
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_GET[$key] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['meta_key']9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

WARNINGMaintainabilityDynamic Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter_prefix . '_load_lib'".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter_prefix . '_load_lib'".

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_SERVER['PHP_SELF']. Check that the array index exists before using it.4
Category
Security
Occurrences
4
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.

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDiscouragedThe use of function ini_set() is discouraged2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The use of function ini_set() is discouraged

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

Sample message

Use of a direct database call is discouraged.

Show 13 more
WARNINGMaintainabilityerror log error log2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log var export2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORSecurityOutput Not Escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGSecurityMissing2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitymissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nload plugin textdomain Found1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORSecurityNot Prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Class Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "SuextMinifyCssCompressor".

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityAdd option Param3Found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "$deprecated = ''" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Use "" instead.

WARNINGPerformancePost Not In post not in1
Category
Performance
Occurrences
1
Severity
warning

Sample message

Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "utf8_encode()" requires WordPress 6.9.0, but your plugin minimum supported version is WordPress 6.0.0.

Score History

First score snapshot

v4.9.0

40

Latest

Findings
78
Errors
14
Warnings
64
Check
2.0.0

Related Plugins

Hide/Remove Metadata

20k+ active installs

100
MB Elementor Integration

2k+ active installs

98
Pen

2k+ active installs

98
CubeWP Forms

4k+ active installs

97
MB Rest API

1k+ active installs

97