public static function prepare_params($lead_data)
 {
     $first_name = isset($lead_data['wpleads_first_name']) ? $lead_data['wpleads_first_name'] : '';
     $last_name = isset($lead_data['wpleads_last_name']) ? $lead_data['wpleads_last_name'] : '';
     $email_address = isset($lead_data['wpleads_email_address']) ? $lead_data['wpleads_email_address'] : '';
     $content = Inbound_Akismet::detect_content($lead_data);
     $params = array('comment_author' => $first_name . ' ' . $last_name, 'comment_author_email' => $email_address, 'comment_content' => $content);
     $params['blog'] = get_option('home');
     $params['blog_lang'] = get_locale();
     $params['blog_charset'] = get_option('blog_charset');
     $params['user_ip'] = preg_replace('/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR']);
     $params['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
     $params['referrer'] = $_SERVER['HTTP_REFERER'];
     $params['permalink'] = $_SERVER['HTTP_REFERER'];
     $params['comment_type'] = 'contact-form';
     return $params;
 }