Social Rocket – Social Sharing Plugin

Add fully-customizable social sharing buttons to your site. Easy to use and packed with many additional social networking features.

v1.3.5socialrocketUpdated Added 1k+ installs100% rating
33
Score
1,016
Errors
255
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability50

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,271 findings

Security

1,141

11 issue groups

Maintainability

66

11 issue groups

I18n

53

3 issue groups

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

Sample message

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

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

Sample message

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

WARNINGSecurityMissing Unslash$_GET['_social_rocket_notice_nonce'] not unslashed before sanitization. Use wp_unslash() or similar57
Category
Security
Occurrences
57
Severity
warning

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['social_rocket_settings_import_file']['name']51
Category
Security
Occurrences
51
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['social_rocket_settings_import_file']['name']

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_FILES['social_rocket_settings_import_file']['tmp_name']. Check that the array index exists before using it.34
Category
Security
Occurrences
34
Severity
warning

Sample message

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

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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 __().

Show 15 more
WARNINGSecurityInterpolated Not Prepared12
Category
Security
Occurrences
12
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $table_name at "DROP TABLE IF EXISTS $table_name"

WARNINGSecurityMissing10
Category
Security
Occurrences
10
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityUnescaped DBParameter7
Category
Security
Occurrences
7
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb->get_results()\n$table_name assigned unsafely at line 209.

WARNINGMaintainabilityDynamic Hookname Found6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->identifier . '_cron_interval'".

WARNINGMaintainabilityDiscouraged4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

The use of function ini_set() is discouraged

ERRORI18nUnordered Placeholders Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Need help? <a href="%s" target="_blank">Read the Documentation</a> or <a href="%s" target="_blank">Visit our Support Site</a>.'.

WARNINGMaintainabilitySchema Change3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilitydate date3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fclose3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fwrite3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORSecurityUnescaped DBParameter2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityerror log trigger error2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.4.0.

ERRORSecurityNot Prepared1
Category
Security
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v1.3.5

33

Latest

Findings
1,271
Errors
1,016
Warnings
255
Check
2.0.0

Related Plugins