This plugin automatically performs several front end optimizations to your site to boost performance and increase PageSpeed scores.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
623
14 issue groups
Security
522
7 issue groups
I18n
106
4 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"jch-optimize_settings[{$settingName}]"'.
Sample message
Short PHP opening tag used with echo; expected "<?php echo "jch-optimize_settings[{$settingName}]" ..." but found "<?= "jch-optimize_settings[{$settingName}]" ..."
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Missing $domain parameter in function call to __().
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$aAdvancedToggleIcons".
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Sample message
The $text parameter must be a single text string literal. Found: $activeValue
Sample message
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.
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
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "JCH_CACHE_DIR".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"/* Response returned status code: {$response->getStatusCode()} */"'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
The use of function ini_set() is discouraged
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "jch_optimize_get_http2_preloads".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found interpolation in unescaped heredoc.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Detected usage of a non-sanitized input variable: $_GET['jch_profiler']
Sample message
$_GET['jch_profiler'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
error_reporting() can lead to full path disclosure.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
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
set_error_handler() found. Debug code should not normally be used in production.
Potential connections found in static code analysis.
Outbound calls
300
External assets
0
Incoming endpoints
0
No external asset domains detected.
No public endpoints detected.
3 score snapshots
v6.0.1
22
Latest
v6.0.0
22
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 1,281 | 1,145 | 136 | v6.0.1 | 2.0.0 |
| 22 | 1,279 | 1,143 | 136 | v6.0.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.