Custom Contact Forms - Version 6.6.1

Version Description

  • Finally fix the bug where we can set our form title as empty
Download this release

Release Info

Developer tlovett1
Plugin Icon 128x128 Custom Contact Forms
Version 6.6.1
Comparing to
See all releases

Code changes from version 6.6 to 6.6.1

custom-contact-forms.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://www.taylorlovett.com
5
  * Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
6
  * Author: Taylor Lovett
7
- * Version: 6.6
8
  * Author URI: http://www.taylorlovett.com
9
  */
10
 
4
  * Plugin URI: http://www.taylorlovett.com
5
  * Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
6
  * Author: Taylor Lovett
7
+ * Version: 6.6.1
8
  * Author URI: http://www.taylorlovett.com
9
  */
10
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
5
  Requires at least: 3.9
6
  Tested up to: 4.2
7
- Stable tag: 6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -35,6 +35,9 @@ For questions, feature requests, and support concerning the Custom Contact Forms
35
 
36
  == Changelog ==
37
 
 
 
 
38
  = 6.6 =
39
  * Update WP-API to 1.2 (still have header method hack)
40
  * Form CSV download
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
5
  Requires at least: 3.9
6
  Tested up to: 4.2
7
+ Stable tag: 6.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
35
 
36
  == Changelog ==
37
 
38
+ = 6.6.1 =
39
+ * Finally fix the bug where we can set our form title as empty
40
+
41
  = 6.6 =
42
  * Update WP-API to 1.2 (still have header method hack)
43
  * Form CSV download
vendor/wp-api/wp-api/lib/class-wp-json-posts.php CHANGED
@@ -822,7 +822,7 @@ class WP_JSON_Posts {
822
  }
823
 
824
  // Post title
825
- if ( ! empty( $data['title'] ) ) {
826
  $post['post_title'] = $data['title'];
827
  }
828
 
822
  }
823
 
824
  // Post title
825
+ if ( isset( $data['title'] ) ) {
826
  $post['post_title'] = $data['title'];
827
  }
828