Skip to content

Commit

Permalink
Merge pull request #148 from johnbillion/fix/stage-scope
Browse files Browse the repository at this point in the history
Fix doc that references global scope
  • Loading branch information
schlessera authored Jan 15, 2018
2 parents efb296b + 493f3f3 commit ac6c1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class-profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ private function load_wordpress_with_template() {

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;
}
Expand Down

0 comments on commit ac6c1c2

Please sign in to comment.