AnyComment

AnyComment is blazing-fast commenting plugin based on React for WordPress.

v0.3.6AlexanderUpdated Added 5k+ installs96% rating0% support resolved
17
Score
445
Errors
449
Warnings
+0
Change

Category Scores

Security0
Repo49
Performance97
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

894 findings

Security

405

12 issue groups

Maintainability

321

9 issue groups

I18n

105

3 issue groups

Supply Chain

8

1 issue group

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

Sample message

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

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

Sample message

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

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

Sample message

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

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.74
Category
I18n
Occurrences
74
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.

ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $countQuery52
Category
Security
Occurrences
52
Severity
error

Sample message

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

WARNINGSecurityMissing Unslash$_COOKIE[$cookie_redirect] not unslashed before sanitization. Use wp_unslash() or similar50
Category
Security
Occurrences
50
Severity
warning

Sample message

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

ERRORSecurityUnescaped DBParameterUnescaped parameter $countQuery used in $wpdb->get_var()\n$countQuery assigned unsafely at line 44.36
Category
Security
Occurrences
36
Severity
error

Sample message

Unescaped parameter $countQuery used in $wpdb->get_var()\n$countQuery assigned unsafely at line 44.

WARNINGSecurityMissingProcessing form data without nonce verification.35
Category
Security
Occurrences
35
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

Show 15 more
ERRORMaintainabilityNot Allowed27
Category
Maintainability
Occurrences
27
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

ERRORI18nMissing Arg Domain23
Category
I18n
Occurrences
23
Severity
error

Sample message

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

WARNINGSecurityInterpolated Not Prepared22
Category
Security
Occurrences
22
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;DELETE FROM $table WHERE $column IN ($prepared_ids)&quot;

ERRORMaintainabilitydate date22
Category
Maintainability
Occurrences
22
Severity
error

Sample message

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

WARNINGSecurityRecommended21
Category
Security
Occurrences
21
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not Validated19
Category
Security
Occurrences
19
Severity
warning

Sample message

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

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;

ERRORSecurityUnsafe Printing Function12
Category
Security
Occurrences
12
Severity
error

Sample message

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

ERRORMaintainabilityunlink unlink8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text8
Category
I18n
Occurrences
8
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Like - %d or dislike - %d.'.

ERRORSupply Chainhidden files8
Category
Supply Chain
Occurrences
8
Severity
error

Sample message

Hidden files are not permitted.

WARNINGSecurityUnescaped DBParameter5
Category
Security
Occurrences
5
Severity
warning

Sample message

Unescaped parameter $new_name used in $wpdb-&gt;get_results()\n$new_name assigned unsafely at line 32.

WARNINGMaintainabilityNon Prefixed Hookname Found5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect5
Category
Security
Occurrences
5
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.

ERRORMaintainabilityfile system operations mkdir5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

Score History

First score snapshot

v0.3.6

17

Latest

Findings
894
Errors
445
Warnings
449
Check
2.0.0

Related Plugins

One Click Close Comments

4k+ active installs

99
Relative URL

3k+ active installs

97
DCO Comment Attachment

5k+ active installs

85
Anti-spam Reloaded

2k+ active installs

43