Merge pull request #148 from johnbillion/fix/stage-scope

Fix doc that references global scope
This commit is contained in:
Alain Schlesser 2018-01-15 07:56:39 +01:00 committed by GitHub
commit ac6c1c236d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}