Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify for maximum performance.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
749
19 issue groups
Security
34
2 issue groups
I18n
1
1 issue group
Repo Compliance
1
1 issue group
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activate_url".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wp_optimize_admin_after_page_'.$page".
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Re_Smush_It_Task".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Optimize".
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Unescaped parameter $options_table_sql used in $wpdb->get_var()\n$options_table_sql assigned unsafely at line 439.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "MAX_FILE_SIZE".
Sample message
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.
Sample message
Function "current_datetime()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 4.9.0.
Sample message
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.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP-Optimize - Clean, Compress, Cache" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
Detected usage of meta_query, possible slow query.
Sample message
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.
Sample message
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.
Sample message
Attempting a database schema change is discouraged.
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Detected usage of meta_value, possible slow query.
Sample message
Interfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Optimize_Table_Interface".
Sample message
Traits declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Optimize_HTTP_Error_Codes_Trait".
Sample message
Plugin name "WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance" is different from the name declared in plugin header "WP-Optimize - Clean, Compress, Cache".
Sample message
The "/vendor" directory using composer exists, but "composer.json" file is missing.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Potential connections found in static code analysis.
Outbound calls
298
External assets
0
Incoming endpoints
2
No external asset domains detected.
No public endpoints detected.
wp_ajax
wp_ajax
3 score snapshots
v4.6.1
56
Latest
v4.6.0
56
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 56 | 785 | 5 | 780 | v4.6.1 | 2.0.0 |
| 56 | 779 | 5 | 774 | v4.6.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.