MW WP Form - Version 0.9.3

Version Description

  • Added : readme.txt URL
  • Bug fix:
  • Bug fix: / URL
Download this release

Release Info

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

Code changes from version 0.9.2 to 0.9.3

form_fields/mw_form_field_preview_button.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW Form Field Preview Button
4
  * URI: http://2inc.org
5
  * Description: 確認ボタンを出力。
6
- * Version: 1.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: December 14, 2012
10
- * Modified: May 29, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
@@ -67,7 +67,11 @@ class mw_form_field_preview_button extends mw_form_field {
67
  * QTags.addButton を出力
68
  */
69
  protected function add_qtags() {
70
- }
71
- public function _add_qtags() {
 
 
 
 
72
  }
73
  }
3
  * Name: MW Form Field Preview Button
4
  * URI: http://2inc.org
5
  * Description: 確認ボタンを出力。
6
+ * Version: 1.1.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: December 14, 2012
10
+ * Modified: July 22, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
67
  * QTags.addButton を出力
68
  */
69
  protected function add_qtags() {
70
+ ?>
71
+ '<?php echo $this->short_code_name; ?>',
72
+ '<?php _e( 'mwform_previewButton', MWF_Config::DOMAIN ); ?>',
73
+ '[<?php echo $this->short_code_name; ?> name=""]',
74
+ ''
75
+ <?php
76
  }
77
  }
mw-wp-form.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
- * Version: 0.9.2
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: September 25, 2012
10
- * Modified: July 10, 2013
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
@@ -605,11 +605,11 @@ class mw_wp_form {
605
  }
606
  if ( !preg_match( '/^https?:\/\//', $url ) ) {
607
  $protocol = ( is_ssl() ) ? 'https://' : 'http://';
608
- $home_url = untrailingslashit( $protocol.$_SERVER['HTTP_HOST'] );
609
  $url = $home_url . $url;
610
  }
611
  $url = preg_replace( '/([^:])\/+/', '$1/', $url );
612
- $url = trailingslashit( $url );
613
  if ( !empty( $this->options_by_formkey['querystring'] ) && MWF_Functions::is_numeric( $_GET['post_id'] ) ) {
614
  $url = $url . '?post_id=' . $_GET['post_id'];
615
  }
3
  * Plugin Name: MW WP Form
4
  * Plugin URI: http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
5
  * Description: MW WP Form can create mail form with a confirmation screen.
6
+ * Version: 0.9.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: September 25, 2012
10
+ * Modified: July 28, 2013
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
605
  }
606
  if ( !preg_match( '/^https?:\/\//', $url ) ) {
607
  $protocol = ( is_ssl() ) ? 'https://' : 'http://';
608
+ $home_url = untrailingslashit( $protocol . $_SERVER['HTTP_HOST'] );
609
  $url = $home_url . $url;
610
  }
611
  $url = preg_replace( '/([^:])\/+/', '$1/', $url );
612
+ // $url = trailingslashit( $url );
613
  if ( !empty( $this->options_by_formkey['querystring'] ) && MWF_Functions::is_numeric( $_GET['post_id'] ) ) {
614
  $url = $url . '?post_id=' . $_GET['post_id'];
615
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: plugin, form, confirm, preview
5
  Requires at least: 3.4
6
  Tested up to: 3.5
7
- Stable tag: 0.9.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -26,6 +26,7 @@ MW WP Form はショートコードを使って確認画面付きのメールフ
26
  * 同一URL・個別URLでの画面変遷が可能
27
  * 豊富なバリデーションルール
28
 
 
29
  http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
30
 
31
  == Installation ==
@@ -36,7 +37,12 @@ http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
36
 
37
  == Changelog ==
38
 
39
- = 0.9.1 =
 
 
 
 
 
40
  * Bug fix: ファイルの読み込みタイミング等を変更
41
 
42
  = 0.9.1 =
4
  Tags: plugin, form, confirm, preview
5
  Requires at least: 3.4
6
  Tested up to: 3.5
7
+ Stable tag: 0.9.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
26
  * 同一URL・個別URLでの画面変遷が可能
27
  * 豊富なバリデーションルール
28
 
29
+ http://2inc.org/manual-mw-wp-form/
30
  http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
31
 
32
  == Installation ==
37
 
38
  == Changelog ==
39
 
40
+ = 0.9.3 =
41
+ * Added : readme.txt にマニュアルのURLを追記
42
+ * Bug fix: 確認ボタン 挿入ボタンが表示されていなかったのを修正
43
+ * Bug fix: 末尾に / のつかない URL の場合に画面変遷が正しく行われないバグを修正
44
+
45
+ = 0.9.2 =
46
  * Bug fix: ファイルの読み込みタイミング等を変更
47
 
48
  = 0.9.1 =