$$key to ${$key}

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

View file

@ -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.