Simple Local Avatars

Adds an avatar upload field to user profiles. Generates requested sizes on demand just like Gravatar!

v2.8.610upUpdated Added 100k+ installs92% rating0% support resolved
72
Score
14
Errors
16
Warnings
+0
Change

Category Scores

Security57
Repo94
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

30 findings

Maintainability

13

10 issue groups

Security

10

3 issue groups

I18n

6

2 issue groups

Repo Compliance

1

1 issue group

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "SLA_IS_NETWORK".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['_wpnonce']3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['_wpnonce']

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_FILES['simple-local-avatar']['error']. Check that the array index exists before using it.3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES['simple-local-avatar']['error']. Check that the array index exists before using it.

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to esc_html__() 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.3
Category
I18n
Occurrences
3
Severity
error

Sample message

A function call to esc_html__() 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.

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_simple_local_avatar".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "get_simple_local_avatar".

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "pre_simple_local_avatar_url".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$compat_checker".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

Show 6 more
ERRORMaintainabilityunlink unlink1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORMaintainabilityapplication detected1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Application files are not permitted.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

ERRORMaintainabilitymissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Compliancereadme short description non official language1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The readme short description contains unofficial language. It must be written in standard English.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The upgrade notice for "2.1" exceeds the limit of 300 characters.

Score History

First score snapshot

v2.8.6

72

Latest

Findings
30
Errors
14
Warnings
16
Check
2.0.0

Related Plugins

Disable User Gravatar

3k+ active installs

95
Leira Letter Avatar

6k+ active installs

93
Organic Profile Block

1k+ active installs

88
80
Meks Smart Author Widget

10k+ active installs

72
WP User Avatars

20k+ active installs

68