Skip to content

Commit

Permalink
Jetpack label keys
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHansenMe authored Sep 22, 2023
1 parent d9702d9 commit 7b5cd44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Listeners/Jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function connected( $id, $secret, $public ) {
* @return void
*/
public function module_enabled( $module ) {
$this->push( 'jetpack_module_enabled', array( 'module' => $module ) );
$this->push( 'jetpack_module_enabled', array( 'label_key' => 'module', 'module' => $module ) );
}

/**
Expand All @@ -59,7 +59,7 @@ public function module_enabled( $module ) {
* @return void
*/
public function module_disabled( $module ) {
$this->push( 'jetpack_module_disabled', array( 'module' => $module ) );
$this->push( 'jetpack_module_disabled', array( 'label_key' => 'module', 'module' => $module ) );
}

/**
Expand All @@ -76,6 +76,6 @@ public function publicize( $submit_post, $post_id, $service_name, $connection )
if ( ! $submit_post ) {
return;
}
$this->push( 'jetpack_publicized', array( 'service' => $service_name ) );
$this->push( 'jetpack_publicized', array( 'label_key' => 'service', 'service' => $service_name ) );
}
}

0 comments on commit 7b5cd44

Please sign in to comment.