File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,8 @@ public static function set_defaults( string $opt_name = '' ) {
349
349
* Filter 'redux/options/{opt_name}/global_variable'
350
350
*
351
351
* @param array $value option value to set global_variable with
352
- */ global $ $ option_global ;
352
+ */
353
+ global $ $ option_global ;
353
354
354
355
// phpcs:ignore WordPress.NamingConventions.ValidHookName
355
356
$ $ option_global = apply_filters ( 'redux/options/ ' . $ opt_name . '/global_variable ' , self ::$ options_defaults [ $ opt_name ] );
Original file line number Diff line number Diff line change @@ -226,12 +226,12 @@ private function set_global_variable( $core ): void {
226
226
227
227
// Last save key.
228
228
if ( isset ( $ core ->transients ['last_save ' ] ) ) {
229
- $ GLOBALS [ $ options_global ]['REDUX_LAST_SAVE ' ] = $ core ->transients ['last_save ' ] ?? '' ;
229
+ // $GLOBALS[ $options_global ]['REDUX_LAST_SAVE'] = $core->transients['last_save'] ?? '';
230
230
}
231
231
232
232
// Last compiler hook key.
233
233
if ( isset ( $ core ->transients ['last_compiler ' ] ) ) {
234
- $ GLOBALS [ $ options_global ]['REDUX_LAST_COMPILER ' ] = $ core ->transients ['last_compiler ' ] ?? '' ;
234
+ // $GLOBALS[ $options_global ]['REDUX_LAST_COMPILER'] = $core->transients['last_compiler'] ?? '';
235
235
}
236
236
}
237
237
}
You can’t perform that action at this time.
0 commit comments