(@$_POST["answer"]), 'otherplugin' => (@$_POST["opinfo"]), 'otherinfo' => (@$_POST["oinfo"]), 'plugin' => ($cpapphb_plugin_data['Name']), 'pluginv' => ($cpapphb_plugin_version), 'wordpress' => (get_bloginfo( 'version' )), 'itime' => ($time), 'phpversion' => (phpversion ()) ); if (@$_POST["onymous"] == 'false') // send this data only if explicitly accepted { $current_user = wp_get_current_user(); $data['email'] = ($current_user->user_email); $data['website'] = ($_SERVER['HTTP_HOST']); $data['url'] = (get_site_url()); } //extract data from the post //set POST variables $url = 'https://wordpress.dwbooster.com/licensesystem/debug-data.php'; $fields = $data; wp_remote_post( $url, array ( 'body' => $fields ) ); wp_die(); // this is required to terminate immediately and return a proper response } function cpapphb_feedback_javascript() { global $cpapphb_plugslug, $cpapphb_supportlink, $cpapphb_supportlink_full; ?>