Skip to content

Commit d789d7b

Browse files
authored
Updates
1 parent 1522876 commit d789d7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

simple-wp-optimizer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ 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;
138-
$cached_options = null;
137+
static $cached_options = null;
138+
$cached_options = null;
139139
};
140140
$clear_cache();
141141
}
@@ -851,7 +851,7 @@ function add_dns_prefetch() {
851851
if ( ! $options_checked ) {
852852
$options = get_option( 'es_optimizer_options' );
853853
$options_checked = true;
854-
854+
855855
// Only proceed if the option is enabled.
856856
if ( ! isset( $options['enable_dns_prefetch'] ) || ! $options['enable_dns_prefetch'] ) {
857857
$domains_cache = array(); // Cache empty array to avoid re-checking.

0 commit comments

Comments
 (0)