Skip to content

Commit

Permalink
Merge pull request #824 from sjinks/init-wpdb-props
Browse files Browse the repository at this point in the history
fix: initialize wpdb properties as early as possible
  • Loading branch information
sjinks authored Aug 2, 2024
2 parents ad5be76 + 0b111f7 commit acd9f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ final class Plugin {
use Singleton;

private function __construct() {
Schema::instance(); // Initialize wpdb properties

$this->set_up_hooks();
}

Expand Down

0 comments on commit acd9f8e

Please sign in to comment.