Skip to content

Commit 1522876

Browse files
authored
Updates
1 parent dc41d59 commit 1522876

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

simple-wp-optimizer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function es_optimizer_get_options() {
134134
function es_optimizer_clear_options_cache() {
135135
// Clear the static cache by accessing the static variable.
136136
$clear_cache = function () {
137-
static $cached_options = null;
137+
static $cached_options = null;
138138
$cached_options = null;
139139
};
140140
$clear_cache();
@@ -845,9 +845,9 @@ function add_dns_prefetch() {
845845
}
846846

847847
// Use static caching to avoid repeated option retrieval.
848-
static $domains_cache = null;
849-
static $options_checked = false;
850-
848+
static $domains_cache = null;
849+
static $options_checked = false;
850+
851851
if ( ! $options_checked ) {
852852
$options = get_option( 'es_optimizer_options' );
853853
$options_checked = true;

0 commit comments

Comments
 (0)