Fix typo in DebugBar extension availability check

This commit is contained in:
dangoodman 2018-06-18 21:29:00 +03:00
parent f26378d0c2
commit 15bb029ab7
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();
}
}