Version Description
- Fixed security bugs reported by Neven Biruski
Download this release
Release Info
Developer | Access Keys |
Plugin | Contact Form for WordPress – Ultimate Form Builder Lite |
Version | 1.3.8 |
Comparing to | |
See all releases |
Code changes from version 1.3.7 to 1.3.8
- classes/ufbl-model.php +2 -0
- inc/views/backend/form-builder.php +1 -1
- readme.txt +4 -1
- ultimate-form-builder-lite.php +2 -2
classes/ufbl-model.php
CHANGED
@@ -115,6 +115,7 @@ if ( !class_exists( 'UFBL_Model' ) ) {
|
|
115 |
* @return array
|
116 |
*/
|
117 |
public static function get_form_row( $form_id ) {
|
|
|
118 |
global $wpdb;
|
119 |
$table_name = UFBL_FORM_TABLE;
|
120 |
$form_row = $wpdb->get_row( "SELECT * FROM $table_name WHERE form_id = $form_id", ARRAY_A );
|
@@ -241,6 +242,7 @@ if ( !class_exists( 'UFBL_Model' ) ) {
|
|
241 |
* @return array
|
242 |
*/
|
243 |
public static function get_entry_detail( $entry_id ) {
|
|
|
244 |
global $wpdb;
|
245 |
if ( $entry_id != '' ) {
|
246 |
$form_table = UFBL_FORM_TABLE;
|
115 |
* @return array
|
116 |
*/
|
117 |
public static function get_form_row( $form_id ) {
|
118 |
+
$form_id = intval($form_id);
|
119 |
global $wpdb;
|
120 |
$table_name = UFBL_FORM_TABLE;
|
121 |
$form_row = $wpdb->get_row( "SELECT * FROM $table_name WHERE form_id = $form_id", ARRAY_A );
|
242 |
* @return array
|
243 |
*/
|
244 |
public static function get_entry_detail( $entry_id ) {
|
245 |
+
$entry_id = intval($entry_id);
|
246 |
global $wpdb;
|
247 |
if ( $entry_id != '' ) {
|
248 |
$form_table = UFBL_FORM_TABLE;
|
inc/views/backend/form-builder.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
$data['form_row'] = $form_row;
|
8 |
self::load_view( 'backend/header' );
|
9 |
?>
|
10 |
-
<div class="ufbl-shortcode-display-wrap">Shortcode: <input type="text" onfocus="this.select();" readonly="readonly" value="[ufbl form_id="<?php echo $_GET['form_id']
|
11 |
<h2 class="nav-tab-wrapper">
|
12 |
<a href="javascript:void(0);" class="nav-tab nav-tab-active ufbl-tab-trigger" data-id="form-builder"><?php _e( 'Form Builder', 'ultimate-form-builder-lite' ); ?></a>
|
13 |
<a href="javascript:void(0);" class="nav-tab ufbl-tab-trigger" data-id="display"><?php _e( 'Display Settings', 'ultimate-form-builder-lite' ); ?></a>
|
7 |
$data['form_row'] = $form_row;
|
8 |
self::load_view( 'backend/header' );
|
9 |
?>
|
10 |
+
<div class="ufbl-shortcode-display-wrap">Shortcode: <input type="text" onfocus="this.select();" readonly="readonly" value="[ufbl form_id="<?php echo intval($_GET['form_id']);?>"]" class="shortcode-in-list-table wp-ui-text-highlight code"></div>
|
11 |
<h2 class="nav-tab-wrapper">
|
12 |
<a href="javascript:void(0);" class="nav-tab nav-tab-active ufbl-tab-trigger" data-id="form-builder"><?php _e( 'Form Builder', 'ultimate-form-builder-lite' ); ?></a>
|
13 |
<a href="javascript:void(0);" class="nav-tab ufbl-tab-trigger" data-id="display"><?php _e( 'Display Settings', 'ultimate-form-builder-lite' ); ?></a>
|
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: 4.5
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -149,6 +149,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
149 |
10. Backend Entry Detail
|
150 |
|
151 |
== Changelog ==
|
|
|
|
|
|
|
152 |
= 1.3.7 =
|
153 |
* Fixed security bugs reported by WordFence Security Team and Few plugin users
|
154 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.3.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
149 |
10. Backend Entry Detail
|
150 |
|
151 |
== Changelog ==
|
152 |
+
= 1.3.8 =
|
153 |
+
* Fixed security bugs reported by Neven Biruski
|
154 |
+
|
155 |
= 1.3.7 =
|
156 |
* Fixed security bugs reported by WordFence Security Team and Few plugin users
|
157 |
|
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.3.
|
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.3.
|
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.3.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.3.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
|