use the core event category rather than admin

This commit is contained in:
Tom Nowell committed 2014-04-14 14:36:38 +00:00
1 parent 84eba6e39d
commit 32d8752261
1 file changed
+8 -8
+8 -8
View File
@@ -44,33 +44,33 @@ class Core_Events extends Laps_Events {
$stops['admin_init'][- 1] = array( $stops['admin_init'][- 1] = array(
'event' => 'Core Admin Init', 'event' => 'Core Admin Init',
'category' => 'admin', 'category' => 'core',
); );
$stops['admin_init'][ PHP_INT_MAX -1 ] = array( $stops['admin_init'][ PHP_INT_MAX -1 ] = array(
'action' => 'stop', 'action' => 'stop',
'event' => 'Core Admin Init', 'event' => 'Core Admin Init',
'category' => 'admin', 'category' => 'core',
); );
$stops['_admin_menu'][- 1] = array( $stops['_admin_menu'][- 1] = array(
'event' => 'Admin Menu', 'event' => 'Admin Menu',
'category' => 'admin', 'category' => 'core',
); );
$stops['admin_menu'][ PHP_INT_MAX -1 ] = array( $stops['admin_menu'][ PHP_INT_MAX -1 ] = array(
'action' => 'stop', 'action' => 'stop',
'event' => 'Admin Menu', 'event' => 'Admin Menu',
'category' => 'admin', 'category' => 'core',
); );
$stops['admin_bar_menu'][-1] = array( $stops['admin_bar_menu'][-1] = array(
'event' => 'Admin Bar', 'event' => 'Admin Bar',
'category' => 'admin', 'category' => 'core',
); );
$stops['admin_bar_menu'][ PHP_INT_MAX -1 ] = array( $stops['admin_bar_menu'][ PHP_INT_MAX -1 ] = array(
'action' => 'stop', 'action' => 'stop',
'event' => 'Admin Bar', 'event' => 'Admin Bar',
'category' => 'admin', 'category' => 'core',
); );
$stops['loop_start'][10] = array( $stops['loop_start'][10] = array(
@@ -86,13 +86,13 @@ class Core_Events extends Laps_Events {
$stops['admin_enqueue_scripts'][10] = array( $stops['admin_enqueue_scripts'][10] = array(
'event' => 'Admin Print Scripts', 'event' => 'Admin Print Scripts',
'category' => 'admin', 'category' => 'core',
); );
$stops['admin_print_scripts'][10] = array( $stops['admin_print_scripts'][10] = array(
'action' => 'stop', 'action' => 'stop',
'event' => 'Admin Print Scripts', 'event' => 'Admin Print Scripts',
'category' => 'admin', 'category' => 'core',
); );
return $stops; return $stops;