Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
Category Scores
Top Issues by Category
maintainability999
security478
Issues Details
1,546 issues found in latest scan
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$function_name does not exist."'.
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$alias".
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "U_IDNA_ACE_PREFIX_ERROR".
Mismatched text domain. Expected 'google-site-kit' but got 'default'.
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Since {$package} {$version}: "'.
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.2.0.
Detected usage of a non-sanitized input variable: $_ENV['SSH_AUTH_SOCK']
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
set_error_handler() found. Debug code should not normally be used in production.
$_SERVER['HTTP_USER_AGENT'] not unslashed before sanitization. Use wp_unslash() or similar
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fputs().
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
var_export() found. Debug code should not normally be used in production.
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
trigger_error() found. Debug code should not normally be used in production.
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "https_ssl_verify".
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().
mt_rand() is discouraged. Use the far less predictable wp_rand() instead.
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$hook".
| Code | Type | Message | Count |
|---|---|---|---|
| missing_direct_file_access_protection | ERROR | PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit; | 692 |
| WordPress.Security.EscapeOutput.ExceptionNotEscaped | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$function_name does not exist."'. | 434 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound | WARNING | Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$alias". | 112 |
| WordPress.WP.AlternativeFunctions.curl_curl_setopt | ERROR | Using cURL functions is highly discouraged. Use wp_remote_get() instead. | 34 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound | WARNING | Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "U_IDNA_ACE_PREFIX_ERROR". | 28 |
| WordPress.WP.I18n.TextDomainMismatch | WARNING | Mismatched text domain. Expected 'google-site-kit' but got 'default'. | 24 |
| WordPress.Security.EscapeOutput.OutputNotEscaped | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Since {$package} {$version}: "'. | 22 |
| WordPress.WP.AlternativeFunctions.file_system_operations_fclose | ERROR | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose(). | 15 |
| wp_function_not_compatible_with_requires_wp | ERROR | Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.2.0. | 15 |
| WordPress.Security.ValidatedSanitizedInput.InputNotSanitized | WARNING | Detected usage of a non-sanitized input variable: $_ENV['SSH_AUTH_SOCK'] | 12 |
| WordPress.WP.AlternativeFunctions.file_system_operations_fopen | ERROR | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen(). | 12 |
| WordPress.PHP.DevelopmentFunctions.error_log_set_error_handler | WARNING | set_error_handler() found. Debug code should not normally be used in production. | 11 |
| WordPress.Security.ValidatedSanitizedInput.MissingUnslash | WARNING | $_SERVER['HTTP_USER_AGENT'] not unslashed before sanitization. Use wp_unslash() or similar | 10 |
| WordPress.WP.AlternativeFunctions.file_system_operations_fputs | ERROR | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fputs(). | 10 |
| Generic.PHP.ForbiddenFunctions.Found | ERROR | The use of function eval() is forbidden | 9 |
| WordPress.WP.AlternativeFunctions.parse_url_parse_url | ERROR | parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead. | 9 |
| WordPress.PHP.DevelopmentFunctions.error_log_var_export | WARNING | var_export() found. Debug code should not normally be used in production. | 8 |
| WordPress.WP.AlternativeFunctions.curl_curl_init | ERROR | Using cURL functions is highly discouraged. Use wp_remote_get() instead. | 8 |
| WordPress.PHP.DevelopmentFunctions.error_log_trigger_error | WARNING | trigger_error() found. Debug code should not normally be used in production. | 7 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | WARNING | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "https_ssl_verify". | 6 |
| WordPress.WP.AlternativeFunctions.file_system_operations_fread | ERROR | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread(). | 5 |
| WordPress.WP.AlternativeFunctions.file_system_operations_fwrite | ERROR | File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite(). | 5 |
| WordPress.WP.AlternativeFunctions.rand_mt_rand | ERROR | mt_rand() is discouraged. Use the far less predictable wp_rand() instead. | 5 |
| WordPress.DateTime.RestrictedFunctions.date_date | ERROR | date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead. | 4 |
| WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound | WARNING | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$hook". | 4 |
Latest Snapshot
Findings
1,546
Errors
1,304
Warnings
242
Score History
First score snapshot
First scan completed Jun 19, 2026
v1.181.0 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2
Jun 19, 2026
v1.181.0
25
Latest
- Findings
- 1,546
- Errors
- 1,304
- Warnings
- 242
- Plugin Check
- 2.0.0
- Model
- 2026.06-mvp-static-v2
| Scan | Score | Findings | Errors | Warnings | Plugin | Plugin Check | Model |
|---|---|---|---|---|---|---|---|
| Jun 19, 2026Latest | 25 | 1,546 | 1,304 | 242 | v1.181.0 | 2.0.0 | 2026.06-mvp-static-v2 |