LWS Tools

Optimize and modify your website's parameters

v2.6.4Aurélien LWSUpdated 2026-06-15Added Sep 16, 202220k+ installs100% rating
31
Score
104
Errors
134
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability32

Top Issues by Category

security118
maintainability65
i18n41

Issues Details

238 issues found in latest scan

WARNING39
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

WARNING25
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

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

WARNING24
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

ERROR19
WordPress.Security.EscapeOutput.OutputNotEscaped

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

ERROR16
WordPress.WP.I18n.MissingTranslatorsComment

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERROR13
missing_direct_file_access_protection

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

WARNING12
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING12
WordPress.DB.DirectDatabaseQuery.NoCaching

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

ERROR11
WordPress.WP.I18n.NoEmptyStrings

The $text text string should have translatable content. Found: ''

WARNING6
PluginCheck.CodeAnalysis.WriteFile.ABSPATHDetected

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

WARNING6
WordPress.DB.PreparedSQL.InterpolatedNotPrepared

Use placeholders and $wpdb->prepare(); found interpolated variable {$new_name} at "RENAME TABLE `{$table[0]}` TO `{$new_name}`"

ERROR6
WordPress.WP.I18n.TextDomainMismatch

Mismatched text domain. Expected 'lws-tools' but got 'lws-cleaner'.

ERROR5
WordPress.WP.AlternativeFunctions.file_system_operations_fclose

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERROR4
WordPress.WP.AlternativeFunctions.file_system_operations_fwrite

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERROR3
WordPress.DB.PreparedSQL.NotPrepared

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

ERROR3
WordPress.WP.AlternativeFunctions.file_system_operations_fopen

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

ERROR3
WordPress.WP.I18n.MissingArgDomain

Missing $domain parameter in function call to esc_html_e().

ERROR3
WordPress.WP.I18n.NonSingularStringLiteralText

The $text parameter must be a single text string literal. Found: $manager[1]

ERROR3
wp_function_not_compatible_with_requires_wp

Function "wp_get_wp_version()" requires WordPress 6.7.0, but your plugin minimum supported version is WordPress 5.0.0.

ERROR2
PluginCheck.Security.DirectDB.UnescapedDBParameter

Unescaped parameter $new_prefix used in $wpdb->query()\n$new_prefix assigned unsafely at line 309.

ERROR2
WordPress.DateTime.RestrictedFunctions.date_date

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

ERROR2
WordPress.WP.AlternativeFunctions.parse_url_parse_url

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNING2
WordPress.WP.EnqueuedResourceParameters.NotInFooter

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNING2
WordPress.WP.I18n.NoHtmlWrappedStrings

Translatable string should not be wrapped in HTML. Found: '<strong>%d revision(s).</strong>'

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.

Latest Snapshot

Findings

238

Errors

104

Warnings

134

Score History

First score snapshot

First scan completed Jun 20, 2026

v2.6.4 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v2.6.4

31

Latest

Findings
238
Errors
104
Warnings
134
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins