MW WP Form - Version 1.5.1

Version Description

  • Bug fix : Fix wpautop bug.
Download this release

Release Info

Developer inc2734
Plugin Icon wp plugin MW WP Form
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

Files changed (2) hide show
  1. mw-wp-form.php +4 -2
  2. readme.txt +4 -1
mw-wp-form.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://plugins.2inc.org/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
- * Version: 1.5.0
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
@@ -795,7 +795,9 @@ class mw_wp_form {
795
  }
796
  wp_reset_postdata();
797
  $_ret = do_shortcode( $_ret );
798
- $_ret = wpautop( $_ret );
 
 
799
  return $_ret;
800
  }
801
 
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://plugins.2inc.org/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
+ * Version: 1.5.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created : September 25, 2012
795
  }
796
  wp_reset_postdata();
797
  $_ret = do_shortcode( $_ret );
798
+ if ( has_filter( 'the_content', 'wpautop' ) ) {
799
+ $_ret = wpautop( $_ret );
800
+ }
801
  return $_ret;
802
  }
803
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
4
  Tags: plugin, form, confirm, preview, shortcode, mail
5
  Requires at least: 3.4
6
  Tested up to: 3.8.1
7
- Stable tag: 1.5.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -54,6 +54,9 @@ Do you have questions or issues with MW WP Form? Use these support channels appr
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 1.5.0 =
58
  * Deleted : Delete qtags.
59
  * Bug fix : Fix inquiery data are not saved when admin mail content is empty.
4
  Tags: plugin, form, confirm, preview, shortcode, mail
5
  Requires at least: 3.4
6
  Tested up to: 3.8.1
7
+ Stable tag: 1.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
54
 
55
  == Changelog ==
56
 
57
+ = 1.5.1 =
58
+ * Bug fix : Fix wpautop bug.
59
+
60
  = 1.5.0 =
61
  * Deleted : Delete qtags.
62
  * Bug fix : Fix inquiery data are not saved when admin mail content is empty.