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

Version Description

  • Updated form modified date and form entry submission date to match the WordPress Timezone
Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.2

classes/ufbl-model.php CHANGED
@@ -126,6 +126,8 @@ if ( !class_exists( 'UFBL_Model' ) ) {
126
  * @return void
127
  */
128
  public static function save_to_db( $form_data = array() ) {
 
 
129
 
130
  if ( isset( $form_data['form_id'] ) ) {
131
  $form_id = sanitize_text_field( $form_data['form_id'] );
126
  * @return void
127
  */
128
  public static function save_to_db( $form_data = array() ) {
129
+ $timezone = get_option('timezone_string');
130
+ date_default_timezone_set($timezone);
131
 
132
  if ( isset( $form_data['form_id'] ) ) {
133
  $form_id = sanitize_text_field( $form_data['form_id'] );
inc/cores/save-form.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
 
 
 
 
3
  /**
4
  * Posted Variables
5
  * Array
1
  <?php
2
 
3
+ $timezone = get_option('timezone_string');
4
+ date_default_timezone_set($timezone);
5
+
6
  /**
7
  * Posted Variables
8
  * Array
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: contact form, form builder, form, forms, contact forms, enquiry forms, for
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
- Stable tag: 1.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -146,6 +146,9 @@ Once you install the plugin , you can check some general documentation about how
146
  10. Backend Entry Detail
147
 
148
  == Changelog ==
 
 
 
149
  = 1.2.1 =
150
  * Fixed small bug for stripping slashes from saved values
151
 
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
+ Stable tag: 1.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
146
  10. Backend Entry Detail
147
 
148
  == Changelog ==
149
+ = 1.2.2 =
150
+ * Updated form modified date and form entry submission date to match the WordPress Timezone
151
+
152
  = 1.2.1 =
153
  * Fixed small bug for stripping slashes from saved values
154
 
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.2.1
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.2.1' ); //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.2.2
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.2.2' ); //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