AMP for WP is the most recommended AMP plugin by the community. Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your …
Category Scores
Top Issues by Category
maintainability3,039
security17
Issues Details
3,057 issues found in latest scan
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$$this".
Function "_doing_it_wrong()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "aal_filter_output".
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".
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AMPFROWP_HOST_NAME".
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "AMP_Base_Embed_Handler".
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.
Detected usage of a non-sanitized input variable: $_POST['verify_nonce']
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.
Processing form data without nonce verification.
The use of function _cleanup_header_comment() is forbidden
Use placeholders and $wpdb->prepare(); found interpolated variable $values_sql at "INSERT INTO {$wpdb->postmeta} (post_id, meta_key, meta_value) VALUES $values_sql"
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$privacy'.
$_POST['verify_nonce'] not unslashed before sanitization. Use wp_unslash() or similar
wp_targeted_link_rel() has been deprecated since WordPress version 6.7.0.
Plugin name "AMP for WP - Accelerated Mobile Pages" is different from the name declared in plugin header "Accelerated Mobile Pages".
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
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.
| Code | Type | Message | Count |
|---|---|---|---|
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound | WARNING | Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$$this". | 2,012 |
| wp_function_not_compatible_with_requires_wp | ERROR | Function "_doing_it_wrong()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0. | 637 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | WARNING | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "aal_filter_output". | 217 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound | WARNING | 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". | 124 |
| missing_direct_file_access_protection | ERROR | PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit; | 15 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound | WARNING | Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AMPFROWP_HOST_NAME". | 10 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound | WARNING | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "AMP_Base_Embed_Handler". | 9 |
| WordPress.Security.SafeRedirect.wp_redirect_wp_redirect | WARNING | 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. | 6 |
| WordPress.Security.ValidatedSanitizedInput.InputNotSanitized | WARNING | Detected usage of a non-sanitized input variable: $_POST['verify_nonce'] | 5 |
| WordPress.DB.DirectDatabaseQuery.DirectQuery | WARNING | Use of a direct database call is discouraged. | 4 |
| WordPress.DB.DirectDatabaseQuery.NoCaching | WARNING | Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete(). | 4 |
| PluginCheck.CodeAnalysis.WriteFile.ABSPATHDetected | WARNING | Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files. | 2 |
| WordPress.Security.NonceVerification.Recommended | WARNING | Processing form data without nonce verification. | 2 |
| Generic.PHP.ForbiddenFunctions.Found | ERROR | The use of function _cleanup_header_comment() is forbidden | 1 |
| WordPress.DB.PreparedSQL.InterpolatedNotPrepared | WARNING | Use placeholders and $wpdb->prepare(); found interpolated variable $values_sql at "INSERT INTO {$wpdb->postmeta} (post_id, meta_key, meta_value) VALUES $values_sql" | 1 |
| WordPress.DB.PreparedSQL.NotPrepared | ERROR | Use placeholders and $wpdb->prepare(); found $sql | 1 |
| WordPress.Security.EscapeOutput.OutputNotEscaped | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$privacy'. | 1 |
| WordPress.Security.ValidatedSanitizedInput.MissingUnslash | WARNING | $_POST['verify_nonce'] not unslashed before sanitization. Use wp_unslash() or similar | 1 |
| WordPress.WP.DeprecatedFunctions.wp_targeted_link_relFound | WARNING | wp_targeted_link_rel() has been deprecated since WordPress version 6.7.0. | 1 |
| five_star_reviews_detected | ERROR | Linking directly to 5 stars reviews is not allowed. | 1 |
| mismatched_plugin_name | WARNING | Plugin name "AMP for WP - Accelerated Mobile Pages" is different from the name declared in plugin header "Accelerated Mobile Pages". | 1 |
| readme_parser_warnings_trimmed_short_description | WARNING | The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported. | 1 |
| trademarked_term | WARNING | 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. | 1 |
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
| Scan | Score | Findings | Errors | Warnings | Plugin | Plugin Check | Model |
|---|---|---|---|---|---|---|---|
| Jun 20, 2026Latest | 41 | 3,057 | 656 | 2,401 | v1.1.14 | 2.0.0 | 2026.06-mvp-static-v2 |