From 8d826007d63bd367bd10694e69add9f73bd7bcf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Smoli=C5=84ski?= Date: Sat, 11 Aug 2018 15:40:31 +0200 Subject: [PATCH] $$key to ${$key} --- inc/class-profiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class-profiler.php b/inc/class-profiler.php index 6e66489..74cc74c 100644 --- a/inc/class-profiler.php +++ b/inc/class-profiler.php @@ -446,7 +446,7 @@ class Profiler { // Template is normally loaded in global scope, so we need to replicate foreach ( $GLOBALS as $key => $value ) { - global $$key; + global ${$key}; } // Load the theme template.