Skip to content

Commit

Permalink
Merge pull request #13 from newfold-labs/feature/add-username-to-env-…
Browse files Browse the repository at this point in the history
…data

Feature/add username to env data
  • Loading branch information
circlecube committed Feb 1, 2023
2 parents 04dfd04 + 431a71d commit 643aff9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
exit;
}

define( 'NFD_DATA_MODULE_VERSION', '2.2.0' );
define( 'NFD_DATA_MODULE_VERSION', '2.2.5' );

/**
* Register the data module
Expand Down
3 changes: 2 additions & 1 deletion src/HiiveConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function is_throttled() {
* Post event data payload to the hiive
*
* @param Event[] $events Array of Event objects representing the actions that occurred
* @param bool $is_blocking
* @param bool $is_blocking Determines if the request is a blocking request
*
* @return array|\WP_Error
*/
Expand Down Expand Up @@ -283,6 +283,7 @@ public function get_core_data() {
'php' => phpversion(),
'plugin' => container()->plugin()->get( 'version', '0' ),
'url' => get_site_url(),
'username' => get_current_user(),
'wp' => $wp_version,
);

Expand Down

0 comments on commit 643aff9

Please sign in to comment.