mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-18 06:11:48 +08:00
$$key to ${$key}
This commit is contained in:
parent
bcff53dd7f
commit
8bc39c2f99
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue