File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ function es_optimizer_get_options() {
134134function 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.
You can’t perform that action at this time.
0 commit comments