Like Button Rating ♥ LikeBtn

Add Like button to posts, pages, comments, WooCommerce, BuddyPress, bbPress, UM, custom posts! Sort content by likes! Get instant stats and insights!

v2.6.60LikeBtnUpdated Added 4k+ installs88% rating100% support resolved
23
Score
1,231
Errors
617
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,848 findings

Security

1,278

11 issue groups

Maintainability

436

11 issue groups

I18n

118

3 issue groups

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$likebtn_buttons_options['likebtn_like_box_size']'.238
Category
Security
Occurrences
238
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "add_comment_meta()" requires WordPress 2.9.0, but your plugin minimum supported version is WordPress 2.8.0.117
Category
Maintainability
Occurrences
117
Severity
error

Sample message

Function "add_comment_meta()" requires WordPress 2.9.0, but your plugin minimum supported version is WordPress 2.8.0.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_likebtn_add_default_options".97
Category
Maintainability
Occurrences
97
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar97
Category
Security
Occurrences
97
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $blog73
Category
Security
Occurrences
73
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['_wpnonce']62
Category
Security
Occurrences
62
Severity
warning

Sample message

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

Show 15 more
ERRORI18nMissing Arg Domain60
Category
I18n
Occurrences
60
Severity
error

Sample message

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

WARNINGSecurityInput is not validated52
Category
Security
Occurrences
52
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text34
Category
I18n
Occurrences
34
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment24
Category
I18n
Occurrences
24
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.

ERRORSecurityDatabase parameter is not escaped23
Category
Security
Occurrences
23
Severity
error

Sample message

Unescaped parameter $entity_name used in $wpdb->get_results()\n$entity_name used without escaping.

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.

WARNINGSecurityMissing nonce verification16
Category
Security
Occurrences
16
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityMissing direct file access protection14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

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

WARNINGMaintainabilityNot In Footer12
Category
Maintainability
Occurrences
12
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.

WARNINGMaintainabilityNon-prefixed constant11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared7
Category
Security
Occurrences
7
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$entity_name} at AND element_type = 'post_{$entity_name}' \n

WARNINGMaintainabilitySchema Change6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORSecuritySetting is missing a sanitization callback4
Category
Security
Occurrences
4
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityslow db query meta query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed global variable3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.6.60

23

Latest

Findings
1,848
Errors
1,231
Warnings
617
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Absolute Reviews

6k+ active installs

99
Tasty Recipes Lite

2k+ active installs

82
All-in-one Like Widget

1k+ active installs

42
Posts Like Dislike

6k+ active installs

42