AMP

An easier path to great Page Experience for everyone. Powered by AMP.

v2.5.5Weston RuterUpdated Added 400k+ installs76% rating0% support resolved
43
Score
63
Errors
362
Warnings
+0
Change

Category Scores

Security25
Repo89
Performance100
Maintainability27

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

425 findings

Maintainability

380

16 issue groups

Security

31

3 issue groups

I18n

12

1 issue group

Repo Compliance

2

2 issue groups

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "AMP_Accessibility_Sanitizer".82
Category
Maintainability
Occurrences
82
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGI18nText Domain MismatchMismatched text domain. Expected 'amp' but got 'default'.12
Category
I18n
Occurrences
12
Severity
warning

Sample message

Mismatched text domain. Expected 'amp' but got 'default'.

WARNINGSecurityMissing Unslash$_GET['post'] not unslashed before sanitization. Use wp_unslash() or similar9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

WARNINGMaintainabilityDynamic Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "static::HOOK_PREFIX . static::ARGUMENTS_FILTER".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AMP_QUERY_VAR".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AMP_QUERY_VAR".

Show 12 more
ERRORMaintainabilityNot Allowed2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNINGMaintainabilityFound2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Short URL detected (goo.gl). Use full URLs instead of URL shorteners.

WARNINGMaintainabilityDiscouraged1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityslow db query meta key1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityNon Prefixed Trait Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Traits declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;AMP_Noscript_Fallback&quot;.

WARNINGSecurityInput Not Validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET[&#039;orderby&#039;]. Check that the array index exists before using it.

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityWp count terms Param2Found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "$args" at position #2 of wp_count_terms() has been deprecated since WordPress version 5.6.0. Instead do not pass the parameter.

ERRORMaintainabilitylibrary core files1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Library files that are already in the WordPress core are not permitted.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The &quot;/vendor&quot; directory using composer exists, but &quot;composer.json&quot; file is missing.

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

Sample message

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

ERRORRepo Complianceplugin header unsupported plugin name1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Plugin Name" header in the plugin file is not valid. It needs to contain at least 5 latin letters (a-Z) and/or numbers. This is necessary because the initial plugin slug is generated from the name.

Score History

First score snapshot

v2.5.5

43

Latest

Findings
425
Errors
63
Warnings
362
Check
2.0.0

Related Plugins

100
DietPress

2k+ active installs

100
Optimization Detective

60k+ active installs

100
Favicon Rotator

20k+ active installs

99
Featherweight

10k+ active installs

99
Image Prioritizer

50k+ active installs

99