$$key to ${$key}

This commit is contained in:
Wojciech Smoliński 2018-08-11 15:40:31 +02:00
parent bcff53dd7f
commit 8bc39c2f99

View file

@ -446,7 +446,7 @@ class Profiler {
// Template is normally loaded in global scope, so we need to replicate // Template is normally loaded in global scope, so we need to replicate
foreach ( $GLOBALS as $key => $value ) { foreach ( $GLOBALS as $key => $value ) {
global $$key; global ${$key};
} }
// Load the theme template. // Load the theme template.