Autoptimize

Autoptimize speeds up your website by optimizing JS, CSS, images (incl. lazy-load), HTML and Google Fonts, asyncing JS, removing emoji cruft and more.

v3.1.15.1Optimizing MattersUpdated 2026-04-04Added Jul 9, 2009800k+ installs94% rating33% support resolved
23
Score
288
Errors
191
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance97
Maintainability0

Top Issues by Category

security288
maintainability140
i18n17

Issues Details

479 issues found in latest scan

ERROR115
WordPress.Security.EscapeOutput.OutputNotEscaped

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

ERROR49
PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing

Sanitization missing for register_setting().

WARNING36
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

ERROR29
WordPress.Security.EscapeOutput.UnsafePrintingFunction

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

WARNING29
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_FILES['file']['error']

WARNING29
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

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

WARNING15
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING14
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING13
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

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

ERROR11
WordPress.WP.AlternativeFunctions.unlink_unlink

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERROR11
missing_direct_file_access_protection

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

ERROR9
WordPress.WP.I18n.MissingTranslatorsComment

A function call to esc_html__() 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.

WARNING8
WordPress.PHP.DevelopmentFunctions.error_log_print_r

print_r() found. Debug code should not normally be used in production.

ERROR8
WordPress.WP.I18n.MissingArgDomain

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

WARNING7
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING7
WordPress.DB.DirectDatabaseQuery.NoCaching

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

WARNING6
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

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

WARNING6
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

WARNING5
WordPress.PHP.DevelopmentFunctions.error_log_error_log

error_log() found. Debug code should not normally be used in production.

ERROR5
WordPress.Security.EscapeOutput.ExceptionNotEscaped

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

ERROR4
Generic.PHP.ForbiddenFunctions.Found

The use of function move_uploaded_file() is forbidden

WARNING4
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

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

ERROR3
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 __FILE__ or __DIR__ magic constant. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

WARNING3
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

Latest Snapshot

Findings

479

Errors

288

Warnings

191

Score History

First score snapshot

First scan completed Jun 19, 2026

v3.1.15.1 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 19, 2026

v3.1.15.1

23

Latest

Findings
479
Errors
288
Warnings
191
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins