Merge pull request #207 from dangoodman/pr-debugbar-typo

Fix typo in DebugBar extension availability check
This commit is contained in:
Yahnis Elsts 2018-06-19 13:16:17 +03:00 committed by GitHub
commit e222ec10fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ if ( !class_exists('Puc_v4p4_UpdateChecker', false) ):
* Initialize the update checker Debug Bar plugin/add-on thingy.
*/
public function maybeInitDebugBar() {
if ( class_exists('Debug_Bar', false) && file_exists(dirname(__FILE__ . '/DebugBar')) ) {
if ( class_exists('Debug_Bar', false) && file_exists(dirname(__FILE__) . '/DebugBar') ) {
$this->createDebugBarExtension();
}
}