Structured Content (JSON-LD) #wpsc

Add flexible content boxes with JSON-LD microdata output according to schema.org e.g. FAQPage, ProfilePage, Event, Course, LocalBusiness, JobPosting a …

v1.7.0Gordon BöhmeUpdated Added 40k+ installs92% rating
39
Score
291
Errors
73
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance100
Maintainability79

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

364 findings

Security

278

1 issue group

Maintainability

82

5 issue groups

Repo Compliance

3

3 issue groups

I18n

1

1 issue group

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

Sample message

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

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

Sample message

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

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 Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "sanitize_jsonld_input".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: "sanitize_jsonld_input".

WARNINGI18nload plugin textdomain Foundload_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.1
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.

WARNINGMaintainabilitymismatched plugin namePlugin name "Structured Content (JSON-LD) #wpsc" is different from the name declared in plugin header "Structured Content".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Structured Content (JSON-LD) #wpsc" is different from the name declared in plugin header "Structured Content".

ERRORRepo Complianceoutdated tested upto headerTested 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.1
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.

WARNINGRepo Compliancereadme parser warnings too many tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGRepo Compliancereadme parser warnings trimmed short descriptionThe "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.1
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.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "Structured Content (JSON-LD) #wpsc" - contains the restricted term "wp" which cannot be used at all in your plugin name.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Structured Content (JSON-LD) #wpsc" - contains the restricted term "wp" which cannot be used at all in your plugin name.

Score History

First score snapshot

v1.7.0

39

Latest

Findings
364
Errors
291
Warnings
73
Check
2.0.0