Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization

Automatically optimize images with bulk compression, lazy loading, WebP/AVIF conversion & CloudFront image CDN. Boost Core Web Vitals & conversions.

v4.2.7OptimoleUpdated 2026-06-16Added Sep 23, 2018200k+ installs94% rating100% support resolved
29
Score
80
Errors
162
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability27

Top Issues by Category

maintainability119
security113
i18n1

Issues Details

242 issues found in latest scan

WARNING42
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

ERROR25
WordPress.Security.EscapeOutput.OutputNotEscaped

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

WARNING24
WordPress.PHP.DevelopmentFunctions.error_log_print_r

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

WARNING16
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

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

WARNING13
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING13
WordPress.DB.DirectDatabaseQuery.NoCaching

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

WARNING11
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

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

WARNING11
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

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

ERROR9
WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder

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

ERROR8
WordPress.WP.AlternativeFunctions.strip_tags_strip_tags

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNING7
WordPress.WP.EnqueuedResourceParameters.MissingVersion

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERROR6
WordPress.Security.EscapeOutput.UnsafePrintingFunction

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

WARNING5
WordPress.DB.SlowDBQuery.slow_db_query_meta_query

Detected usage of meta_query, possible slow query.

WARNING5
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

ERROR5
wp_function_not_compatible_with_requires_wp

Function "get_block_wrapper_attributes()" requires WordPress 5.6.0, but your plugin minimum supported version is WordPress 5.5.0.

WARNING4
PluginCheck.Security.DirectDB.UnescapedDBParameter

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

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

ERROR3
WordPress.WP.AlternativeFunctions.unlink_unlink

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

WARNING2
Squiz.PHP.DiscouragedFunctions.Discouraged

The use of function set_time_limit() is discouraged

ERROR2
WordPress.WP.AlternativeFunctions.file_system_operations_fclose

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

ERROR2
WordPress.WP.AlternativeFunctions.file_system_operations_fopen

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

ERROR2
WordPress.WP.AlternativeFunctions.rand_rand

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERROR2
WordPress.WP.AlternativeFunctions.rand_seeding_srand

srand() is discouraged. Rand seeding is not necessary when using the wp_rand() function (as you should).

WARNING1
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

Latest Snapshot

Findings

242

Errors

80

Warnings

162

Score History

First score snapshot

First scan completed Jun 19, 2026

v4.2.7 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 19, 2026

v4.2.7

29

Latest

Findings
242
Errors
80
Warnings
162
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins