Commit cc34599c authored by Kenneth Hall's avatar Kenneth Hall

Merge branch 'issue#3736' into 'develop'

Appeneded nf_db_version to the environment data being sent to telemetry.

Closes #3736

See merge request ninja-forms/ninja-forms!3678
parents af6ed3a2 2965ff7e
......@@ -35,6 +35,8 @@ final class NF_Dispatcher
*
* @since 3.2
* @return void
*
* @updated UPDATE_VERSION_ON_MERGE
*/
public function update_environment_vars() {
global $wpdb;
......@@ -73,6 +75,7 @@ final class NF_Dispatcher
$environment = array(
'nf_version' => Ninja_Forms::VERSION,
'nf_db_version' => get_option( 'ninja_forms_db_version', '1.0' ),
'wp_version' => get_bloginfo('version'),
'multisite_enabled' => $multisite_enabled,
'server_type' => $_SERVER['SERVER_SOFTWARE'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment