Contact Form by WPForms – Drag & Drop Form Builder for WordPress - Version 1.4.2.1

Version Description

  • Added: Setting to hide Announcement feed
Download this release

Release Info

Developer jaredatch
Plugin Icon 128x128 Contact Form by WPForms – Drag & Drop Form Builder for WordPress
Version 1.4.2.1
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.2.1

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Changelog ==
2
 
 
 
 
3
  = 1.4.2 =
4
  - Added: Import your old Ninja Forms or Contact Form 7 forms! (WPForms > Tools > Import)
5
  - Changed: Dropdown/Checkbox/Multiple Choice "Show Values" setting has been hidden by default to avoid confusion, can be re-enabled using the `wpforms_fields_show_options_setting` filter
@@ -34,6 +37,7 @@
34
  - Added: Non-dismissible Dashboard page admin only notice about PHP 5.2.
35
 
36
  = 1.4.0 =
 
37
  - Changed: Core form templates are now displayed separate in the form builder from other custom templates
38
  - Changed: Refactored CSV exporting for better support
39
  - Fixed: Dynamic Choices large items modal render issue
1
  == Changelog ==
2
 
3
+ = 1.4.2.1 =
4
+ - Added: Setting to hide Announcement feed
5
+
6
  = 1.4.2 =
7
  - Added: Import your old Ninja Forms or Contact Form 7 forms! (WPForms > Tools > Import)
8
  - Changed: Dropdown/Checkbox/Multiple Choice "Show Values" setting has been hidden by default to avoid confusion, can be re-enabled using the `wpforms_fields_show_options_setting` filter
37
  - Added: Non-dismissible Dashboard page admin only notice about PHP 5.2.
38
 
39
  = 1.4.0 =
40
+ - Added: Announcement feed
41
  - Changed: Core form templates are now displayed separate in the form builder from other custom templates
42
  - Changed: Refactored CSV exporting for better support
43
  - Fixed: Dynamic Choices large items modal render issue
includes/admin/class-settings.php CHANGED
@@ -268,6 +268,12 @@ class WPForms_Settings {
268
  'desc' => __( 'Check this if you would like to load WPForms assets site-wide. Only check if your site is having compatibility issues or instructed to by support.', 'wpforms' ),
269
  'type' => 'checkbox',
270
  ),
 
 
 
 
 
 
271
  ),
272
  // Email settings tab.
273
  'email' => array(
268
  'desc' => __( 'Check this if you would like to load WPForms assets site-wide. Only check if your site is having compatibility issues or instructed to by support.', 'wpforms' ),
269
  'type' => 'checkbox',
270
  ),
271
+ 'hide-announcements' => array(
272
+ 'id' => 'hide-announcements',
273
+ 'name' => __( 'Hide Announcements', 'wpforms' ),
274
+ 'desc' => __( 'Check this if you would like to hide plugin announcements and update details.', 'wpforms' ),
275
+ 'type' => 'checkbox',
276
+ ),
277
  ),
278
  // Email settings tab.
279
  'email' => array(
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: wpforms, jaredatch, smub, slaFFik
3
  Tags: contact form, contact form plugin, forms, form builder, custom form, contact button, contact me, custom contact form, form manager, form, forms builder, forms creator, captcha, recaptcha, Akismet, email form, web form, feedback form, payment form, survey form, donation form, email submit form, message form, mailchimp, mailchimp form, aweber, aweber form, paypal, paypal form, stripe, stripe form, getresponse, getresponse form, email subscription, contact form widget, user registration form, wordpress registration, wordpress login form
4
  Requires at least: 4.6
5
- Tested up to: 4.8.2
6
  Stable tag: trunk
7
  Requires PHP: 5.2.4
8
  License: GNU General Public License v2.0 or later
@@ -210,6 +210,9 @@ Syed Balkhi
210
 
211
  == Changelog ==
212
 
 
 
 
213
  = 1.4.2 =
214
  - Added: Import your old Ninja Forms or Contact Form 7 forms! (WPForms > Tools > Import)
215
  - Changed: Dropdown/Checkbox/Multiple Choice "Show Values" setting has been hidden by default to avoid confusion, can be re-enabled using the `wpforms_fields_show_options_setting` filter
@@ -221,7 +224,7 @@ Syed Balkhi
221
  - Changed: Improved the loading order of javascript files for forms builder
222
  - Changed: Update some strings for Russian translation
223
 
224
- = 1.4.1=
225
  - Added: Ability to rename Form>Settings>Notifications>Single notification panels
226
  - Added: Define a minimum PHP version support in plugin readme.txt file
227
  - Added: Display a friendly link to a full page version, when form is previewed on AMP pages
@@ -247,6 +250,7 @@ Syed Balkhi
247
  - Fixed: CSV exports missing line breaks
248
 
249
  = 1.4.0 =
 
250
  - Changed: Core form templates are now displayed separate in the form builder from other custom templates
251
  - Changed: Refactored CSV exporting for better support
252
  - Fixed: Dynamic Choices large items modal render issue
2
  Contributors: wpforms, jaredatch, smub, slaFFik
3
  Tags: contact form, contact form plugin, forms, form builder, custom form, contact button, contact me, custom contact form, form manager, form, forms builder, forms creator, captcha, recaptcha, Akismet, email form, web form, feedback form, payment form, survey form, donation form, email submit form, message form, mailchimp, mailchimp form, aweber, aweber form, paypal, paypal form, stripe, stripe form, getresponse, getresponse form, email subscription, contact form widget, user registration form, wordpress registration, wordpress login form
4
  Requires at least: 4.6
5
+ Tested up to: 4.9
6
  Stable tag: trunk
7
  Requires PHP: 5.2.4
8
  License: GNU General Public License v2.0 or later
210
 
211
  == Changelog ==
212
 
213
+ = 1.4.2.1 =
214
+ - Added: Setting to hide Announcement feed
215
+
216
  = 1.4.2 =
217
  - Added: Import your old Ninja Forms or Contact Form 7 forms! (WPForms > Tools > Import)
218
  - Changed: Dropdown/Checkbox/Multiple Choice "Show Values" setting has been hidden by default to avoid confusion, can be re-enabled using the `wpforms_fields_show_options_setting` filter
224
  - Changed: Improved the loading order of javascript files for forms builder
225
  - Changed: Update some strings for Russian translation
226
 
227
+ = 1.4.1 =
228
  - Added: Ability to rename Form>Settings>Notifications>Single notification panels
229
  - Added: Define a minimum PHP version support in plugin readme.txt file
230
  - Added: Display a friendly link to a full page version, when form is previewed on AMP pages
250
  - Fixed: CSV exports missing line breaks
251
 
252
  = 1.4.0 =
253
+ - Added: Announcement feed
254
  - Changed: Core form templates are now displayed separate in the form builder from other custom templates
255
  - Changed: Refactored CSV exporting for better support
256
  - Fixed: Dynamic Choices large items modal render issue
wpforms.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
6
  * Author: WPForms
7
  * Author URI: https://wpforms.com
8
- * Version: 1.4.2
9
  * Text Domain: wpforms
10
  * Domain Path: languages
11
  *
@@ -90,7 +90,7 @@ if ( class_exists( 'WPForms' ) ) {
90
  *
91
  * @var string
92
  */
93
- public $version = '1.4.2';
94
 
95
  /**
96
  * The form data handler instance.
@@ -344,7 +344,9 @@ if ( class_exists( 'WPForms' ) ) {
344
  $this->preview = new WPForms_Preview;
345
 
346
  if ( is_admin() ) {
347
- new AM_Notification( WPFORMS_PLUGIN_SLUG, $this->version );
 
 
348
 
349
  if ( $this->pro || ( ! $this->pro && ! file_exists( WP_PLUGIN_DIR . '/wpforms/wpforms.php' ) ) ) {
350
  new AM_Deactivation_Survey( 'WPForms', basename( dirname( __FILE__ ) ) );
5
  * Description: Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
6
  * Author: WPForms
7
  * Author URI: https://wpforms.com
8
+ * Version: 1.4.2.1
9
  * Text Domain: wpforms
10
  * Domain Path: languages
11
  *
90
  *
91
  * @var string
92
  */
93
+ public $version = '1.4.2.1';
94
 
95
  /**
96
  * The form data handler instance.
344
  $this->preview = new WPForms_Preview;
345
 
346
  if ( is_admin() ) {
347
+ if ( ! wpforms_setting( 'hide-announcements', false ) ) {
348
+ new AM_Notification( WPFORMS_PLUGIN_SLUG, $this->version );
349
+ }
350
 
351
  if ( $this->pro || ( ! $this->pro && ! file_exists( WP_PLUGIN_DIR . '/wpforms/wpforms.php' ) ) ) {
352
  new AM_Deactivation_Survey( 'WPForms', basename( dirname( __FILE__ ) ) );