Better Click To Share – Shareable Quote Boxes for X (Twitter)

Get more shares on social: add one-click shareable quote boxes to any post so readers can share your best lines on Social Media in one click.

v6.0.0Ben MeredithUpdated Added 6k+ installs96% rating
37
Score
170
Errors
59
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability61

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

229 findings

Security

154

7 issue groups

Maintainability

51

13 issue groups

I18n

23

3 issue groups

Repo Compliance

1

1 issue group

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.75
Category
Security
Occurrences
75
Severity
error

Sample message

All output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_comment_delimited_block_content()" requires WordPress 5.3.1, but your plugin minimum supported version is WordPress 3.8.0.13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

Function "get_comment_delimited_block_content()" requires WordPress 5.3.1, but your plugin minimum supported version is WordPress 3.8.0.

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGSecurityMissing Unslash$_POST[$this->item_shortname . '_license'] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_POST[$this->item_shortname . '_license'] not unslashed before sanitization. Use wp_unslash() or similar

Show 14 more
WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORI18nText Domain Mismatch4
Category
I18n
Occurrences
4
Severity
error

Sample message

Mismatched text domain. Expected 'better-click-to-tweet' but got 'easy-digital-downloads'.

WARNINGSecurityInput Not Validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[$this->item_shortname . '_license']. Check that the array index exists before using it.

WARNINGSecurityMissing2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitystrip tags strip tags2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORMaintainabilityplugin updater detected2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Plugin Updater detected. These are not permitted in WordPress.org hosted plugins. Detected: class BCTT_SL_Plugin_Updater

WARNINGMaintainabilitytrademarked term2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Better Click To Share (Formerly Better Click To Tweet)" - contains the restricted term "tweet" which cannot be used at all in your plugin name.

WARNINGMaintainabilityupdate modification detected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: _site_transient_update_plugins

WARNINGMaintainabilityNon Prefixed Function Found1
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: "maybe_remove_premium_styles_license_page".

WARNINGMaintainabilityerror log error log1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGI18nNo Html Wrapped Strings1
Category
I18n
Occurrences
1
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<div class="notice notice-error inline"><p><strong>IMPORTANT:</strong></p><p>Your version of the Premium Styles add-on needs to be updated before you can input a functional license key.</p><p><strong>You haven\'t done anything wrong here</strong>, but the below input for Premium Styles will not work until you address this. For more information, see <a href="%1$s">this post</a>.</p></div>'

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Better Click To Share – Shareable Quote Boxes for X (Twitter)" is different from the name declared in plugin header "Better Click To Share (Formerly Better Click To Tweet)".

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

Score History

First score snapshot

v6.0.0

37

Latest

Findings
229
Errors
170
Warnings
59
Check
2.0.0

Related Plugins

Social Icons Sticky

1k+ active installs

100
Click To Tweet

2k+ active installs

87
Social Sharing Block

7k+ active installs

86
WPUpper Share Buttons

4k+ active installs

86
Social Share Button

1k+ active installs

85