AMP for WP – Accelerated Mobile Pages

AMP for WP is the most recommended AMP plugin by the community. Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your …

v1.1.14Mohammed KaludiUpdated 2026-05-19Added Feb 7, 201680k+ installs88% rating100% support resolved
41
Score
656
Errors
2,401
Warnings
+0
Change

Category Scores

Security29
Repo97
Performance100
Maintainability0

Top Issues by Category

maintainability3,039
security17
repo_compliance1

Issues Details

3,057 issues found in latest scan

WARNING2,012
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

ERROR637
wp_function_not_compatible_with_requires_wp

Function "_doing_it_wrong()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.

WARNING217
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

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

WARNING124
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

ERROR15
missing_direct_file_access_protection

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

WARNING10
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

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

WARNING9
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

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

WARNING6
WordPress.Security.SafeRedirect.wp_redirect_wp_redirect

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.

WARNING5
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

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

WARNING4
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING4
WordPress.DB.DirectDatabaseQuery.NoCaching

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

WARNING2
PluginCheck.CodeAnalysis.WriteFile.ABSPATHDetected

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

WARNING2
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

ERROR1
Generic.PHP.ForbiddenFunctions.Found

The use of function _cleanup_header_comment() is forbidden

WARNING1
WordPress.DB.PreparedSQL.InterpolatedNotPrepared

Use placeholders and $wpdb->prepare(); found interpolated variable $values_sql at "INSERT INTO {$wpdb->postmeta} (post_id, meta_key, meta_value) VALUES $values_sql"

ERROR1
WordPress.DB.PreparedSQL.NotPrepared

Use placeholders and $wpdb->prepare(); found $sql

ERROR1
WordPress.Security.EscapeOutput.OutputNotEscaped

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

WARNING1
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

WARNING1
WordPress.WP.DeprecatedFunctions.wp_targeted_link_relFound

wp_targeted_link_rel() has been deprecated since WordPress version 6.7.0.

ERROR1
five_star_reviews_detected

Linking directly to 5 stars reviews is not allowed.

WARNING1
mismatched_plugin_name

Plugin name "AMP for WP - Accelerated Mobile Pages" is different from the name declared in plugin header "Accelerated Mobile Pages".

WARNING1
readme_parser_warnings_trimmed_short_description

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

WARNING1
trademarked_term

The plugin name includes a restricted term. Your chosen plugin name - "AMP for WP - Accelerated Mobile Pages" - contains the restricted term "wp" which cannot be used at all in your plugin name.

Latest Snapshot

Findings

3,057

Errors

656

Warnings

2,401

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.1.14 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.1.14

41

Latest

Findings
3,057
Errors
656
Warnings
2,401
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins