Solid Post Likes

A like button for all post types. Solid and simple.

v1.0.8oacstudioUpdated Added 500 installs98% rating
39
Score
96
Errors
52
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability76

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

148 findings

I18n

89

6 issue groups

Security

36

7 issue groups

Maintainability

22

8 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'solid-post-likes' but got 'oaspl'.65
Category
I18n
Occurrences
65
Severity
error

Sample message

Mismatched text domain. Expected 'solid-post-likes' but got 'oaspl'.

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_REQUEST['nonce'] not unslashed before sanitization. Use wp_unslash() or similar7
Category
Security
Occurrences
7
Severity
warning

Sample message

$_REQUEST['nonce'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $prefix used in $wpdb->query()\n$prefix assigned unsafely at line 37.5
Category
Security
Occurrences
5
Severity
error

Sample message

Unescaped parameter $prefix used in $wpdb->query()\n$prefix assigned unsafely at line 37.

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

Sample message

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

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$prefix} at "DELETE FROM {$wpdb->commentmeta} WHERE meta_key LIKE '{$prefix}%'"5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$prefix} at "DELETE FROM {$wpdb->commentmeta} WHERE meta_key LIKE '{$prefix}%'"

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_REQUEST['post_id']5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['post_id']

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

Sample message

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

Show 12 more
WARNINGSecuritywp redirect wp redirect4
Category
Security
Occurrences
4
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" 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.

ERRORI18nNo Empty Strings4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

WARNINGMaintainabilityslow db query meta query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: carbon_get_theme_option('oacs_spl_like_text')

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORSecurityOutput is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGI18nNo Html Wrapped Strings1
Category
I18n
Occurrences
1
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<h3>Session expired. Please login again or reload the page.</h3>'

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.5 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "oaspl", expected "solid-post-likes".

External Connections

Potential connections found in static code analysis.

27 domains

Outbound calls

296

External assets

0

Incoming endpoints

4

Notable Domains

fb.me2 · outbound
feross.org2 · outbound
google.com2 · outbound
jedwatson.github.io2 · outbound
lodash.com2 · outbound
oacstudio.de2 · outbound

Platform / Reference Domains

github.com168 · platform/reference
make.wordpress.org76 · platform/reference
wordpress.org12 · platform/reference
w3.org9 · platform/reference
core.trac.wordpress.org1 · platform/reference
developer.wordpress.org1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_oacs_spl_get_like_infopublic

wp_ajax

wp_ajax_nopriv_oacs_spl_process_likepublic

wp_ajax

Admin AJAX endpoints2
wp_ajax_oacs_spl_get_like_infoauthenticated

wp_ajax

wp_ajax_oacs_spl_process_likeauthenticated

wp_ajax

Score History

First score snapshot

v1.0.8

39

Latest

Findings
148
Errors
96
Warnings
52
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins