Microsoft Clarity

How do you make your website great? Clarity can help you quickly see what's working on your site and where people get stuck. And it's free.

v0.10.26MicrosoftUpdated 2026-06-17Added Nov 18, 2020200k+ installs90% rating0% support resolved
36
Score
48
Errors
163
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability56

Top Issues by Category

security111
maintainability94
i18n4

Issues Details

211 issues found in latest scan

WARNING32
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING28
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

WARNING24
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

ERROR22
wp_function_not_compatible_with_requires_wp

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

WARNING17
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING16
WordPress.DB.DirectDatabaseQuery.NoCaching

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

WARNING16
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_GET['_wpnonce']

ERROR8
WordPress.Security.EscapeOutput.OutputNotEscaped

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

WARNING6
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING6
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

Detected usage of a possibly undefined superglobal array index: $_POST['new_value']. Check that the array index exists before using it.

ERROR6
missing_direct_file_access_protection

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

WARNING4
PluginCheck.Security.DirectDB.UnescapedDBParameter

Unescaped parameter $table used in $wpdb->get_results()\n$table assigned unsafely at line 93.

WARNING4
WordPress.DB.PreparedSQL.InterpolatedNotPrepared

Use placeholders and $wpdb->prepare(); found interpolated variable $table at "DELETE FROM $table WHERE id <= %d"

ERROR4
WordPress.WP.I18n.TextDomainMismatch

Mismatched text domain. Expected 'microsoft-clarity' but got 'text-domain'.

WARNING3
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.

WARNING3
trademarked_term

The plugin name includes a restricted term. Your chosen plugin name - "Microsoft Clarity" - contains the restricted term "microsoft" and cannot be used to begin your plugin name. We disallow the use of certain terms in ways that are abused, or potentially infringe on and/or are misleading with regards to trademarks. You may use the term "microsoft" elsewhere in your plugin name, such as "... for microsoft".

ERROR2
WordPress.Security.EscapeOutput.UnsafePrintingFunction

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNING1
Internal.NoCodeFound

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

ERROR1
PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing

Sanitization missing for register_setting().

ERROR1
PluginCheck.CodeAnalysis.WriteFile.PluginDirectoryWrite

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using file_put_contents(). Detected usage of constant WP_CONTENT_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

WARNING1
WordPress.DB.DirectDatabaseQuery.SchemaChange

Attempting a database schema change is discouraged.

ERROR1
WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder

The %i modifier is only supported in WP 6.2 or higher. Found: "%i".

ERROR1
WordPress.DateTime.RestrictedFunctions.date_date

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

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

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

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

Latest Snapshot

Findings

211

Errors

48

Warnings

163

Score History

First score snapshot

First scan completed Jun 19, 2026

v0.10.26 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 19, 2026

v0.10.26

36

Latest

Findings
211
Errors
48
Warnings
163
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins