Version Description
Fix bug with WordPress 4.2 and class property variables not being set
Download this release
Release Info
Developer | mmuro |
Plugin | Visual Form Builder |
Version | 2.8.2 |
Comparing to | |
See all releases |
Code changes from version 2.8.1 to 2.8.2
- includes/class-entries-detail.php +24 -0
- includes/class-entries-list.php +23 -0
- includes/class-export.php +39 -0
- includes/class-forms-list.php +29 -0
- includes/class-widget.php +24 -0
- readme.txt +8 -1
- visual-form-builder.php +40 -10
includes/class-entries-detail.php
CHANGED
@@ -5,6 +5,30 @@
|
|
5 |
* @since 1.4
|
6 |
*/
|
7 |
class VisualFormBuilder_Entries_Detail{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
public function __construct(){
|
9 |
global $wpdb;
|
10 |
|
5 |
* @since 1.4
|
6 |
*/
|
7 |
class VisualFormBuilder_Entries_Detail{
|
8 |
+
/**
|
9 |
+
* field_table_name
|
10 |
+
*
|
11 |
+
* @var mixed
|
12 |
+
* @access public
|
13 |
+
*/
|
14 |
+
public $field_table_name;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* form_table_name
|
18 |
+
*
|
19 |
+
* @var mixed
|
20 |
+
* @access public
|
21 |
+
*/
|
22 |
+
public $form_table_name;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* entries_table_name
|
26 |
+
*
|
27 |
+
* @var mixed
|
28 |
+
* @access public
|
29 |
+
*/
|
30 |
+
public $entries_table_name;
|
31 |
+
|
32 |
public function __construct(){
|
33 |
global $wpdb;
|
34 |
|
includes/class-entries-list.php
CHANGED
@@ -5,6 +5,29 @@
|
|
5 |
* @since 1.2
|
6 |
*/
|
7 |
class VisualFormBuilder_Entries_List extends WP_List_Table {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
function __construct(){
|
10 |
global $status, $page, $wpdb;
|
5 |
* @since 1.2
|
6 |
*/
|
7 |
class VisualFormBuilder_Entries_List extends WP_List_Table {
|
8 |
+
/**
|
9 |
+
* field_table_name
|
10 |
+
*
|
11 |
+
* @var mixed
|
12 |
+
* @access public
|
13 |
+
*/
|
14 |
+
public $field_table_name;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* form_table_name
|
18 |
+
*
|
19 |
+
* @var mixed
|
20 |
+
* @access public
|
21 |
+
*/
|
22 |
+
public $form_table_name;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* entries_table_name
|
26 |
+
*
|
27 |
+
* @var mixed
|
28 |
+
* @access public
|
29 |
+
*/
|
30 |
+
public $entries_table_name;
|
31 |
|
32 |
function __construct(){
|
33 |
global $status, $page, $wpdb;
|
includes/class-export.php
CHANGED
@@ -5,6 +5,45 @@
|
|
5 |
* @since 1.2
|
6 |
*/
|
7 |
class VisualFormBuilder_Export {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
public function __construct(){
|
10 |
global $wpdb;
|
5 |
* @since 1.2
|
6 |
*/
|
7 |
class VisualFormBuilder_Export {
|
8 |
+
/**
|
9 |
+
* field_table_name
|
10 |
+
*
|
11 |
+
* @var mixed
|
12 |
+
* @access public
|
13 |
+
*/
|
14 |
+
public $field_table_name;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* form_table_name
|
18 |
+
*
|
19 |
+
* @var mixed
|
20 |
+
* @access public
|
21 |
+
*/
|
22 |
+
public $form_table_name;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* entries_table_name
|
26 |
+
*
|
27 |
+
* @var mixed
|
28 |
+
* @access public
|
29 |
+
*/
|
30 |
+
public $entries_table_name;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* delimiter
|
34 |
+
*
|
35 |
+
* @var mixed
|
36 |
+
* @access public
|
37 |
+
*/
|
38 |
+
public $delimiter;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* default_cols
|
42 |
+
*
|
43 |
+
* @var mixed
|
44 |
+
* @access public
|
45 |
+
*/
|
46 |
+
public $default_cols;
|
47 |
|
48 |
public function __construct(){
|
49 |
global $wpdb;
|
includes/class-forms-list.php
CHANGED
@@ -5,7 +5,36 @@
|
|
5 |
* @since 1.2
|
6 |
*/
|
7 |
class VisualFormBuilder_Forms_List extends WP_List_Table {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
public $errors;
|
10 |
|
11 |
function __construct(){
|
5 |
* @since 1.2
|
6 |
*/
|
7 |
class VisualFormBuilder_Forms_List extends WP_List_Table {
|
8 |
+
/**
|
9 |
+
* field_table_name
|
10 |
+
*
|
11 |
+
* @var mixed
|
12 |
+
* @access public
|
13 |
+
*/
|
14 |
+
public $field_table_name;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* form_table_name
|
18 |
+
*
|
19 |
+
* @var mixed
|
20 |
+
* @access public
|
21 |
+
*/
|
22 |
+
public $form_table_name;
|
23 |
|
24 |
+
/**
|
25 |
+
* entries_table_name
|
26 |
+
*
|
27 |
+
* @var mixed
|
28 |
+
* @access public
|
29 |
+
*/
|
30 |
+
public $entries_table_name;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* errors
|
34 |
+
*
|
35 |
+
* @var mixed
|
36 |
+
* @access public
|
37 |
+
*/
|
38 |
public $errors;
|
39 |
|
40 |
function __construct(){
|
includes/class-widget.php
CHANGED
@@ -12,6 +12,30 @@ function vfb_register_widgets() {
|
|
12 |
* @since 2.7
|
13 |
*/
|
14 |
class VisualFormBuilder_Widget extends WP_Widget {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
public function __construct(){
|
16 |
global $wpdb;
|
17 |
|
12 |
* @since 2.7
|
13 |
*/
|
14 |
class VisualFormBuilder_Widget extends WP_Widget {
|
15 |
+
/**
|
16 |
+
* field_table_name
|
17 |
+
*
|
18 |
+
* @var mixed
|
19 |
+
* @access public
|
20 |
+
*/
|
21 |
+
public $field_table_name;
|
22 |
+
|
23 |
+
/**
|
24 |
+
* form_table_name
|
25 |
+
*
|
26 |
+
* @var mixed
|
27 |
+
* @access public
|
28 |
+
*/
|
29 |
+
public $form_table_name;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* entries_table_name
|
33 |
+
*
|
34 |
+
* @var mixed
|
35 |
+
* @access public
|
36 |
+
*/
|
37 |
+
public $entries_table_name;
|
38 |
+
|
39 |
public function __construct(){
|
40 |
global $wpdb;
|
41 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9
|
|
4 |
Tags: form, forms, contact form, contact forms, form, forms, form to email, email form, email, input, validation, jquery, shortcode, form builder, contact form builder, form manager, form creator
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 2.8.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
|
@@ -237,6 +237,10 @@ function my_scripts_method() {
|
|
237 |
|
238 |
== Changelog ==
|
239 |
|
|
|
|
|
|
|
|
|
240 |
**Version 2.8.1 - Apr 12, 2014**
|
241 |
|
242 |
* Add localized jQuery form validation messages for languages that have a VFB translation file
|
@@ -653,6 +657,9 @@ function my_scripts_method() {
|
|
653 |
|
654 |
== Upgrade Notice ==
|
655 |
|
|
|
|
|
|
|
656 |
= 2.8 =
|
657 |
Fix quotes and other encoded characters in export
|
658 |
|
4 |
Tags: form, forms, contact form, contact forms, form, forms, form to email, email form, email, input, validation, jquery, shortcode, form builder, contact form builder, form manager, form creator
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 2.8.2
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
+
**Version 2.8.2 - Apr 23, 2015**
|
241 |
+
|
242 |
+
* Fix bug with WordPress 4.2 and class property variables not being set
|
243 |
+
|
244 |
**Version 2.8.1 - Apr 12, 2014**
|
245 |
|
246 |
* Add localized jQuery form validation messages for languages that have a VFB translation file
|
657 |
|
658 |
== Upgrade Notice ==
|
659 |
|
660 |
+
= 2.8.2 =
|
661 |
+
Fix bug with WordPress 4.2 and class property variables not being set
|
662 |
+
|
663 |
= 2.8 =
|
664 |
Fix quotes and other encoded characters in export
|
665 |
|
visual-form-builder.php
CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Visual Form Builder
|
|
4 |
Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
5 |
Author: Matthew Muro
|
6 |
Author URI: http://matthewmuro.com
|
7 |
-
Version: 2.8.
|
8 |
*/
|
9 |
|
10 |
// Version number to output as meta tag
|
11 |
-
define( 'VFB_VERSION', '2.8.
|
12 |
|
13 |
/*
|
14 |
This program is free software; you can redistribute it and/or modify
|
@@ -79,6 +79,38 @@ class Visual_Form_Builder{
|
|
79 |
*/
|
80 |
protected $post_max_vars = false;
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
/**
|
83 |
* Constructor. Register core filters and actions.
|
84 |
*
|
@@ -1767,20 +1799,19 @@ class Visual_Form_Builder{
|
|
1767 |
<div id="vfb-sidebar">
|
1768 |
<div id="vfb-upgrade-column">
|
1769 |
<div class="vfb-pro-upgrade">
|
1770 |
-
<h2><a href="http://vfbpro.com">
|
1771 |
<p class="vfb-pro-call-to-action">
|
1772 |
-
<a class="vfb-btn vfb-btn-inverse" href="http://vfbpro.com/pricing" target="_blank"><?php _e( 'View Pricing' , 'visual-form-builder'); ?></a>
|
1773 |
-
<a class="vfb-btn vfb-btn-primary" href="http://
|
1774 |
</p>
|
1775 |
<p class="vfb-pro-call-to-action">
|
1776 |
<a class="button" href="http://demo.vfbpro.com" target="_blank"><?php _e( 'Try the Free Live Demo →' , 'visual-form-builder'); ?></a>
|
1777 |
</p>
|
1778 |
<h3><?php _e( 'New Features' , 'visual-form-builder'); ?></h3>
|
1779 |
<ul>
|
1780 |
-
<li><a href="http://vfbpro.com/add-ons"><?php _e( 'Now with Add-Ons' , 'visual-form-builder'); ?></a></li>
|
1781 |
<li><?php _e( 'Akismet Support' , 'visual-form-builder'); ?></li>
|
1782 |
<li><?php _e( 'reCAPTCHA' , 'visual-form-builder'); ?></li>
|
1783 |
-
<li><?php _e( 'Nested Drag and Drop' , 'visual-form-builder'); ?></li>
|
1784 |
<li><?php _e( 'Conditional Logic' , 'visual-form-builder'); ?></li>
|
1785 |
<li><?php _e( '10+ new Form Fields' , 'visual-form-builder'); ?></li>
|
1786 |
<li><?php _e( 'Complete Entries Management' , 'visual-form-builder'); ?></li>
|
@@ -1792,19 +1823,18 @@ class Visual_Form_Builder{
|
|
1792 |
<li><?php _e( 'Data & Form Migration' , 'visual-form-builder'); ?></li>
|
1793 |
<li><?php _e( 'Scheduling' , 'visual-form-builder'); ?></li>
|
1794 |
<li><?php _e( 'Limit Form Entries' , 'visual-form-builder'); ?></li>
|
1795 |
-
<li><?php _e( 'Simple PayPal Integration' , 'visual-form-builder'); ?></li>
|
1796 |
<li><?php _e( 'Form Paging' , 'visual-form-builder'); ?></li>
|
1797 |
<li><?php _e( 'Live Preview' , 'visual-form-builder'); ?></li>
|
1798 |
<li><?php _e( 'Custom Capabilities' , 'visual-form-builder'); ?></li>
|
1799 |
<li><?php _e( 'Automatic Updates' , 'visual-form-builder'); ?></li>
|
1800 |
</ul>
|
1801 |
|
1802 |
-
<p><a href="http://vfbpro.com/features"><?php _e( 'View all features' , 'visual-form-builder'); ?></a></p>
|
1803 |
</div> <!-- .vfb-pro-upgrade -->
|
1804 |
|
1805 |
<h3><?php _e( 'Promote Visual Form Builder' , 'visual-form-builder'); ?></h3>
|
1806 |
<ul id="promote-vfb">
|
1807 |
-
<li id="twitter"><?php _e( 'Follow
|
1808 |
<li id="star"><a href="http://wordpress.org/extend/plugins/visual-form-builder/"><?php _e( 'Rate Visual Form Builder on WordPress.org' , 'visual-form-builder'); ?></a></li>
|
1809 |
<li id="paypal">
|
1810 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Visual%20Form%20Builder¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" width="74" height="21"></a>
|
4 |
Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
5 |
Author: Matthew Muro
|
6 |
Author URI: http://matthewmuro.com
|
7 |
+
Version: 2.8.2
|
8 |
*/
|
9 |
|
10 |
// Version number to output as meta tag
|
11 |
+
define( 'VFB_VERSION', '2.8.2' );
|
12 |
|
13 |
/*
|
14 |
This program is free software; you can redistribute it and/or modify
|
79 |
*/
|
80 |
protected $post_max_vars = false;
|
81 |
|
82 |
+
/**
|
83 |
+
* field_table_name
|
84 |
+
*
|
85 |
+
* @var mixed
|
86 |
+
* @access public
|
87 |
+
*/
|
88 |
+
public $field_table_name;
|
89 |
+
|
90 |
+
/**
|
91 |
+
* form_table_name
|
92 |
+
*
|
93 |
+
* @var mixed
|
94 |
+
* @access public
|
95 |
+
*/
|
96 |
+
public $form_table_name;
|
97 |
+
|
98 |
+
/**
|
99 |
+
* entries_table_name
|
100 |
+
*
|
101 |
+
* @var mixed
|
102 |
+
* @access public
|
103 |
+
*/
|
104 |
+
public $entries_table_name;
|
105 |
+
|
106 |
+
/**
|
107 |
+
* load_dev_files
|
108 |
+
*
|
109 |
+
* @var mixed
|
110 |
+
* @access public
|
111 |
+
*/
|
112 |
+
public $load_dev_files;
|
113 |
+
|
114 |
/**
|
115 |
* Constructor. Register core filters and actions.
|
116 |
*
|
1799 |
<div id="vfb-sidebar">
|
1800 |
<div id="vfb-upgrade-column">
|
1801 |
<div class="vfb-pro-upgrade">
|
1802 |
+
<h2><a href="http://vfbpro.com">VFB Pro</a></h2>
|
1803 |
<p class="vfb-pro-call-to-action">
|
1804 |
+
<a class="vfb-btn vfb-btn-inverse" href="http://vfbpro.com/pages/pricing" target="_blank"><?php _e( 'View Pricing' , 'visual-form-builder'); ?></a>
|
1805 |
+
<a class="vfb-btn vfb-btn-primary" href="http://vfbpro.com/pages/pricing" target="_blank"><?php _e( 'Buy Now' , 'visual-form-builder'); ?></a>
|
1806 |
</p>
|
1807 |
<p class="vfb-pro-call-to-action">
|
1808 |
<a class="button" href="http://demo.vfbpro.com" target="_blank"><?php _e( 'Try the Free Live Demo →' , 'visual-form-builder'); ?></a>
|
1809 |
</p>
|
1810 |
<h3><?php _e( 'New Features' , 'visual-form-builder'); ?></h3>
|
1811 |
<ul>
|
1812 |
+
<li><a href="http://vfbpro.com/collections/add-ons"><?php _e( 'Now with Add-Ons' , 'visual-form-builder'); ?></a></li>
|
1813 |
<li><?php _e( 'Akismet Support' , 'visual-form-builder'); ?></li>
|
1814 |
<li><?php _e( 'reCAPTCHA' , 'visual-form-builder'); ?></li>
|
|
|
1815 |
<li><?php _e( 'Conditional Logic' , 'visual-form-builder'); ?></li>
|
1816 |
<li><?php _e( '10+ new Form Fields' , 'visual-form-builder'); ?></li>
|
1817 |
<li><?php _e( 'Complete Entries Management' , 'visual-form-builder'); ?></li>
|
1823 |
<li><?php _e( 'Data & Form Migration' , 'visual-form-builder'); ?></li>
|
1824 |
<li><?php _e( 'Scheduling' , 'visual-form-builder'); ?></li>
|
1825 |
<li><?php _e( 'Limit Form Entries' , 'visual-form-builder'); ?></li>
|
|
|
1826 |
<li><?php _e( 'Form Paging' , 'visual-form-builder'); ?></li>
|
1827 |
<li><?php _e( 'Live Preview' , 'visual-form-builder'); ?></li>
|
1828 |
<li><?php _e( 'Custom Capabilities' , 'visual-form-builder'); ?></li>
|
1829 |
<li><?php _e( 'Automatic Updates' , 'visual-form-builder'); ?></li>
|
1830 |
</ul>
|
1831 |
|
1832 |
+
<p><a href="http://vfbpro.com/pages/features"><?php _e( 'View all features' , 'visual-form-builder'); ?></a></p>
|
1833 |
</div> <!-- .vfb-pro-upgrade -->
|
1834 |
|
1835 |
<h3><?php _e( 'Promote Visual Form Builder' , 'visual-form-builder'); ?></h3>
|
1836 |
<ul id="promote-vfb">
|
1837 |
+
<li id="twitter"><?php _e( 'Follow VFB Pro on Twitter' , 'visual-form-builder'); ?>: <a href="http://twitter.com/#!/vfbpro">@vfbpro</a></li>
|
1838 |
<li id="star"><a href="http://wordpress.org/extend/plugins/visual-form-builder/"><?php _e( 'Rate Visual Form Builder on WordPress.org' , 'visual-form-builder'); ?></a></li>
|
1839 |
<li id="paypal">
|
1840 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Visual%20Form%20Builder¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" width="74" height="21"></a>
|