mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-18 06:11:20 +08:00
Merge pull request #148 from johnbillion/fix/stage-scope
Fix doc that references global scope
This commit is contained in:
commit
ac6c1c236d
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ class Profiler {
|
|||
|
||||
define( 'WP_USE_THEMES', true );
|
||||
|
||||
// Template is normally loaded in global stage, so we need to replicate
|
||||
// Template is normally loaded in global scope, so we need to replicate
|
||||
foreach( $GLOBALS as $key => $value ) {
|
||||
global $$key;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue