PluginProbe
WP Debugging / 2.9.2
WP Debugging v2.9.2
2.12.6 2.12.5 trunk 2.10.0 2.10.1 2.10.2 2.11.0 2.11.1 2.11.10 2.11.11 2.11.12 2.11.13 2.11.14 2.11.15 2.11.16 2.11.17 2.11.18 2.11.19 2.11.2 2.11.20 2.11.21 2.11.22 2.11.23 2.11.24 2.11.3 All 59 releases
← All changes | src/Bootstrap.php +2 -7 2.11.212.9.2 View file →
@@ -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.
@@ -124,9 +119,9 @@
124 119 * @return void
125 120 */
126 121 public function load_hooks() {
127 122 add_action(
128 - 'plugins_loaded',
123 + 'init',
129 124 function() {
130 125 ( new Settings( self::$options, self::$config_path, $this->defined_constants ) )
131 126 ->load_hooks()
132 127 ->process_filter_constants();