Split plugins load into file load and following hook.

This commit is contained in:
Andrey Savchenko committed 2014-11-07 20:55:37 +02:00
1 parent 6fda82d443
commit 5a33c9329b
1 file changed
+12 -1
+12 -1
View File
@@ -14,12 +14,23 @@ class Core_Events extends Laps_Events {
$stops = array(); $stops = array();
$stops['plugins_loaded'][20] = array( $stops['plugins_loaded'][ - 2 ] = array(
'action' => 'stop', 'action' => 'stop',
'event' => 'Plugins Load', 'event' => 'Plugins Load',
'category' => 'plugin', 'category' => 'plugin',
); );
$stops['plugins_loaded'][ - 1 ] = array(
'event' => 'Plugins Loaded Hook',
'category' => 'plugin',
);
$stops['plugins_loaded'][20] = array(
'action' => 'stop',
'event' => 'Plugins Loaded Hook',
'category' => 'plugin',
);
$stops['setup_theme'][0] = array( $stops['setup_theme'][0] = array(
'event' => 'Themes Load', 'event' => 'Themes Load',
'category' => 'theme', 'category' => 'theme',