We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc41d59 commit 1522876Copy full SHA for 1522876
1 file changed
simple-wp-optimizer.php
@@ -134,7 +134,7 @@ function es_optimizer_get_options() {
134
function es_optimizer_clear_options_cache() {
135
// Clear the static cache by accessing the static variable.
136
$clear_cache = function () {
137
- static $cached_options = null;
+ static $cached_options = null;
138
$cached_options = null;
139
};
140
$clear_cache();
@@ -845,9 +845,9 @@ function add_dns_prefetch() {
845
}
846
847
// Use static caching to avoid repeated option retrieval.
848
- static $domains_cache = null;
849
- static $options_checked = false;
850
-
+ static $domains_cache = null;
+ static $options_checked = false;
+
851
if ( ! $options_checked ) {
852
$options = get_option( 'es_optimizer_options' );
853
$options_checked = true;
0 commit comments