| @@ -81,14 +81,9 @@ | ||
| 81 | 81 | return false; |
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | $this->load_hooks(); |
| 85 | - add_action( | |
| 86 | - 'plugins_loaded', | |
| 87 | - function() { | |
| 88 | - \WP_Dependency_Installer::instance()->run( $this->dir ); | |
| 89 | - } | |
| 90 | - ); | |
| 85 | + \WP_Dependency_Installer::instance()->run( $this->dir ); | |
| 91 | 86 | } |
| 92 | 87 | |
| 93 | 88 | /** |
| 94 | 89 | * Get the `wp-config.php` file path. |