MW WP Form - Version 0.6.3

Version Description

  • Bug fix: URL http
  • Bug fix: Firefox
Download this release

Release Info

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

Code changes from version 0.6.2 to 0.6.3

css/admin.css CHANGED
@@ -7,6 +7,19 @@
7
  display: none;
8
  }
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  /**
11
  * URL設定
12
  */
7
  display: none;
8
  }
9
 
10
+ /**
11
+ * フォーム識別子
12
+ */
13
+ span#formkey_field {
14
+ background-color: #fff;
15
+ border: #dfdfdf solid 1px;
16
+ border-radius: 3px;
17
+ color: #333;
18
+ display: block;
19
+ margin: 1px;
20
+ padding: 3px;
21
+ }
22
+
23
  /**
24
  * URL設定
25
  */
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 using shortcode.
6
- * Version: 0.6.2
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: September 25, 2012
10
- * Modified: February 28, 2013
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
@@ -234,9 +234,9 @@ class mw_wp_form {
234
  if ( get_post_type() === self::NAME ) {
235
  $this->options_by_formkey = get_post_meta( $post->ID, self::NAME, true );
236
  $this->key = self::NAME.'-'.$atts['key'];
237
- $this->input = $this->options_by_formkey['input_url'];
238
- $this->preview = $this->options_by_formkey['confirmation_url'];
239
- $this->complete = $this->options_by_formkey['complete_url'];
240
  }
241
  }
242
  wp_reset_postdata();
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 using shortcode.
6
+ * Version: 0.6.3
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: September 25, 2012
10
+ * Modified: March 15, 2013
11
  * Text Domain: mw-wp-form
12
  * Domain Path: /languages/
13
  * License: GPL2
234
  if ( get_post_type() === self::NAME ) {
235
  $this->options_by_formkey = get_post_meta( $post->ID, self::NAME, true );
236
  $this->key = self::NAME.'-'.$atts['key'];
237
+ $this->input = $this->parse_url( $this->options_by_formkey['input_url'] );
238
+ $this->preview = $this->parse_url( $this->options_by_formkey['confirmation_url'] );
239
+ $this->complete = $this->parse_url( $this->options_by_formkey['complete_url'] );
240
  }
241
  }
242
  wp_reset_postdata();
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
- Contributors: Takashi Kitajima
3
  Donate link:
4
  Tags: plugin, form, confirm, preview
5
  Requires at least: 3.4
6
  Tested up to: 3.5
7
- Stable tag: 0.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -29,6 +29,10 @@ http://2inc.org/blog/category/products/wordpress_plugins/mw-wp-form/
29
 
30
  == Changelog ==
31
 
 
 
 
 
32
  = 0.6.2 =
33
  * Bug fix: Infinite loop when WordPress not root installed.
34
 
1
  === Plugin Name ===
2
+ Contributors: inc2734
3
  Donate link:
4
  Tags: plugin, form, confirm, preview
5
  Requires at least: 3.4
6
  Tested up to: 3.5
7
+ Stable tag: 0.6.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
29
 
30
  == Changelog ==
31
 
32
+ = 0.6.3 =
33
+ * Bug fix: 管理画面のURL設定で http から入れないとメールが二重送信されてしまうバグを修正
34
+ * Bug fix: フォーム識別子部分が Firefox でコピペできないバグを修正
35
+
36
  = 0.6.2 =
37
  * Bug fix: Infinite loop when WordPress not root installed.
38
 
system/mw_wp_form_admin_page.php CHANGED
@@ -3,11 +3,11 @@
3
  * Name: MW WP Form Admin Page
4
  * URI: http://2inc.org
5
  * Description: 管理画面クラス
6
- * Version: 1.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: February 21, 2013
10
- * Modified: February 27, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
@@ -313,7 +313,7 @@ class MW_WP_Form_Admin_Page {
313
  ?>
314
  <p>
315
  <?php _e( 'Copy and Paste this shortcode.', self::DOMAIN ); ?><br />
316
- <input type="text" disabled="disabled" value='[mwform_formkey key="<?php the_ID(); ?>"]' size="30" />
317
  </p>
318
  <?php
319
  }
3
  * Name: MW WP Form Admin Page
4
  * URI: http://2inc.org
5
  * Description: 管理画面クラス
6
+ * Version: 1.1.1
7
  * Author: Takashi Kitajima
8
  * Author URI: http://2inc.org
9
  * Created: February 21, 2013
10
+ * Modified: March 15, 2013
11
  * License: GPL2
12
  *
13
  * Copyright 2013 Takashi Kitajima (email : inc@2inc.org)
313
  ?>
314
  <p>
315
  <?php _e( 'Copy and Paste this shortcode.', self::DOMAIN ); ?><br />
316
+ <span id="formkey_field">[mwform_formkey key="<?php the_ID(); ?>"]</span>
317
  </p>
318
  <?php
319
  }