Contact Form for WordPress – Ultimate Form Builder Lite - Version 1.0.8

Version Description

  • Replaced PHP mail with WordPress mail function
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Contact Form for WordPress – Ultimate Form Builder Lite
Version 1.0.8
Comparing to
See all releases

Code changes from version 1.0.7 to 1.0.8

classes/ufbl-lib.php CHANGED
@@ -363,14 +363,15 @@ if ( !class_exists( 'UFBL_Lib' ) ) {
363
  $from_email = ($form_detail['email_settings']['from_email'] != '') ? esc_attr( $form_detail['email_settings']['from_email'] ) : 'noreply@' . $site_url;
364
  $admin_email = get_option( 'admin_email' );
365
  $email_recievers = $form_detail['email_settings']['email_reciever'];
366
- $headers = 'Content-type: text/html' . "\r\n" . 'From: ' . $from_name . '<' . $from_email . '>' . "\r\n" .
367
- 'Reply-To: ' . $from_email . "\r\n" .
368
- 'X-Mailer: PHP/' . phpversion();
369
- //$mail = wp_mail( $from_em, $form_html, $fields_html, $headers );
370
 
371
  foreach ( $email_recievers as $email_reciever ) {
372
  $to_email = ($email_reciever == '') ? $admin_email : esc_attr( $email_reciever );
373
- $mail = mail( $to_email, $email_subject, $form_html, $headers );
 
374
  }
375
  }
376
  }
363
  $from_email = ($form_detail['email_settings']['from_email'] != '') ? esc_attr( $form_detail['email_settings']['from_email'] ) : 'noreply@' . $site_url;
364
  $admin_email = get_option( 'admin_email' );
365
  $email_recievers = $form_detail['email_settings']['email_reciever'];
366
+ $headers = array();
367
+ $headers[] = 'Content-Type: text/html; charset=UTF-8';
368
+ $headers[] = 'From: ' . $from_name . '<' . $from_email . '>' ;
369
+
370
 
371
  foreach ( $email_recievers as $email_reciever ) {
372
  $to_email = ($email_reciever == '') ? $admin_email : esc_attr( $email_reciever );
373
+ //$mail = mail( $to_email, $email_subject, $form_html, $headers );
374
+ $mail = wp_mail( $to_email,$email_subject, $form_html, $headers );
375
  }
376
  }
377
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Access Keys
3
  Tags: contact form, form builder, form, forms, contact forms, enquiry forms, form manager, email form, lead form, email, database store form, form entry, form entries, email forms
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
- Tested up to: 4.3
7
- Stable tag: 1.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -95,6 +95,9 @@ Once you install the plugin , you can check some general documentation about how
95
  10. Backend Entry Detail
96
 
97
  == Changelog ==
 
 
 
98
  = 1.0.7 =
99
  * Done some code cleanup
100
 
3
  Tags: contact form, form builder, form, forms, contact forms, enquiry forms, form manager, email form, lead form, email, database store form, form entry, form entries, email forms
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
+ Tested up to: 4.4
7
+ Stable tag: 1.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
95
  10. Backend Entry Detail
96
 
97
  == Changelog ==
98
+ = 1.0.8 =
99
+ * Replaced PHP mail with WordPress mail function
100
+
101
  = 1.0.7 =
102
  * Done some code cleanup
103
 
ultimate-form-builder-lite.php CHANGED
@@ -6,7 +6,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
6
  Plugin Name: Ultimate Form Builder Lite
7
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/ultimate-form-builder-lite/
8
  Description: A plugin to build any type of forms
9
- Version: 1.0.7
10
  Author: AccessPress Themes
11
  Author URI: http://accesspressthemes.com
12
  License: GPL2
@@ -19,7 +19,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
19
  * Necessary Constants for plugin
20
  */
21
  global $wpdb;
22
- defined( 'UFBL_VERSION' ) or define( 'UFBL_VERSION', '1.0.6' ); //plugin version
23
  defined( 'UFBL_SLUG' ) or define( 'UFBL_SLUG', 'ufbl' ); //plugin admin slug
24
  defined( 'UFBL_TD' ) or define( 'UFBL_TD', 'ultimate-form-builder-lite' ); //plugin's text domain
25
  defined( 'UFBL_IMG_DIR' ) or define( 'UFBL_IMG_DIR', plugin_dir_url( __FILE__ ) . 'images' ); //plugin image directory
6
  Plugin Name: Ultimate Form Builder Lite
7
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/ultimate-form-builder-lite/
8
  Description: A plugin to build any type of forms
9
+ Version: 1.0.8
10
  Author: AccessPress Themes
11
  Author URI: http://accesspressthemes.com
12
  License: GPL2
19
  * Necessary Constants for plugin
20
  */
21
  global $wpdb;
22
+ defined( 'UFBL_VERSION' ) or define( 'UFBL_VERSION', '1.0.8' ); //plugin version
23
  defined( 'UFBL_SLUG' ) or define( 'UFBL_SLUG', 'ufbl' ); //plugin admin slug
24
  defined( 'UFBL_TD' ) or define( 'UFBL_TD', 'ultimate-form-builder-lite' ); //plugin's text domain
25
  defined( 'UFBL_IMG_DIR' ) or define( 'UFBL_IMG_DIR', plugin_dir_url( __FILE__ ) . 'images' ); //plugin image directory