Open Graphite

Control how your content is viewed when shared on social media.

v1.7.1Rocket AppsUpdated Added 3k+ installs66% rating
38
Score
380
Errors
204
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

584 findings

Security

472

7 issue groups

Maintainability

89

6 issue groups

I18n

21

4 issue groups

Repo Compliance

2

2 issue groups

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.211
Category
Security
Occurrences
211
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 '$buy_url'.142
Category
Security
Occurrences
142
Severity
error

Sample message

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

WARNINGSecurityMissing Unslash$_POST['_custom_image'] not unslashed before sanitization. Use wp_unslash() or similar94
Category
Security
Occurrences
94
Severity
warning

Sample message

$_POST['_custom_image'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.16
Category
Security
Occurrences
16
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.16
Category
I18n
Occurrences
16
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.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['_open_graph_title']4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['_open_graph_title']

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "load_open_g_textdomain".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

Show 9 more
WARNINGMaintainabilityNon Prefixed Hookname Found2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityRecommended2
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.

ERRORMaintainabilitymissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nload plugin textdomain Found1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

ERRORMaintainabilityNon Enqueued Script1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

ERRORI18nSingle Underscore Get Text Function1
Category
I18n
Occurrences
1
Severity
error

Sample message

Found single-underscore "_()" function when double-underscore expected.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

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

Sample message

Tested up to: 6.8 < 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.

Score History

First score snapshot

v1.7.1

38

Latest

Findings
584
Errors
380
Warnings
204
Check
2.0.0

Related Plugins

Catch Web Tools

10k+ active installs

100
100
Spice Social Share

5k+ active installs

99
Thumbnail Upscale

3k+ active installs

99
98