Schema & Structured Data for WP & AMP

Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO.

v1.61Magazine3Updated Added 100k+ installs90% rating57% support resolved
33
Score
63
Errors
246
Warnings
+0
Change

Category Scores

Security0
Repo97
Performance100
Maintainability43

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

309 findings

Maintainability

202

14 issue groups

Security

94

9 issue groups

I18n

10

2 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_schemas".114
Category
Maintainability
Occurrences
114
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST[$field['name']] not unslashed before sanitization. Use wp_unslash() or similar32
Category
Security
Occurrences
32
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wisdom_form_text_' . esc_attr( $this->plugin_name )".25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wisdom_form_text_' . esc_attr( $this->plugin_name )".

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_sites()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.5.0.23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

Function "get_sites()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.5.0.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES['saswp-rf-form-image']20
Category
Security
Occurrences
20
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['saswp-rf-form-image']

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

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$comment'.13
Category
Security
Occurrences
13
Severity
error

Sample message

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

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

Sample message

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

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

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

Show 15 more
WARNINGMaintainabilityslow db query meta key5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGSecurityInterpolated SQL is not prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$dict_table} at INNER JOIN {$dict_table} d\r\n

WARNINGMaintainabilityNon-prefixed function4
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: "extra_user_profile_fields".

WARNINGSecurityDatabase parameter is not escaped3
Category
Security
Occurrences
3
Severity
warning

Sample message

Unescaped parameter $dictionary_table used in $wpdb->get_var()\n$dictionary_table assigned unsafely at line 5606.

WARNINGMaintainabilityDirect Query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGSecuritywp redirect wp redirect3
Category
Security
Occurrences
3
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.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Schema & Structured Data for WP & AMP" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGSecurityInput is not validated2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES['saswp-rf-form-image']. Check that the array index exists before using it.

ERRORI18nUnordered Placeholders Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Invalid file type: %s. Supported file types: %s'.

ERRORSecurityDatabase parameter is not escaped1
Category
Security
Occurrences
1
Severity
error

Sample message

Unescaped parameter $field used in $wpdb->get_var()\n$field used without escaping.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta value1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
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 class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "AMP_Review_Form_Blacklist".

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
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.

Score History

First score snapshot

v1.61

33

Latest

Findings
309
Errors
63
Warnings
246
Check
2.0.0

Related Plugins

noindex SEO

3k+ active installs

100
AIKTP

3k+ active installs

99
Canonical Link

2k+ active installs

99
99
Featured Image

1k+ active installs

99
IndexMeNow

2k+ active installs

99