diff --git a/cf7/CustomAction.php b/cf7/CustomAction.php index 4a3fac4..ccfb9b5 100644 --- a/cf7/CustomAction.php +++ b/cf7/CustomAction.php @@ -85,7 +85,7 @@ public function sendData($wpcf) ] ); } - $metedata = []; + $metadata = []; foreach ( $posted_data as $id => $value ) { if ( @@ -100,14 +100,14 @@ public function sendData($wpcf) continue; } - $metadata[ $id ] = $value; + $metadata[ $id ] = $value; } $client->addEvent( Event::forUser( 'form' . $formId . '_submit', UserIdentified::byEmail( $email ) - )->withMetadata( $metedata ) + )->withMetadata( $metadata ) ); } diff --git a/journy-io.php b/journy-io.php index 0aa5e12..b163a3e 100644 --- a/journy-io.php +++ b/journy-io.php @@ -2,7 +2,7 @@ /** * Plugin Name: journy.io * Plugin URI: https://www.journy.io/ - * Version: 2.0.10 + * Version: 2.0.11 * Author: journy.io * Description: Activates and tracks Wordpress events into journy.io * License: GPL2