Skip to content

Commit 7dbb68d

Browse files
committed
fixed webmention_show_comment_form default value
1 parent d30c06e commit 7dbb68d

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

languages/webmention.pot

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the MIT.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Webmention 3.8.4\n"
5+
"Project-Id-Version: Webmention 3.8.5\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/webmention\n"
7-
"POT-Creation-Date: 2018-09-04 18:33:40+00:00\n"
7+
"POT-Creation-Date: 2018-10-15 18:02:28+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"

readme.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
**Donate link:** https://notiz.blog/donate/
66
**Tags:** webmention, pingback, trackback, linkback, indieweb, comment, response
77
**Requires at least:** 4.7
8-
**Tested up to:** 4.9.8
9-
**Stable tag:** 3.8.4
8+
**Tested up to:** 4.9.9
9+
**Stable tag:** 3.8.5
1010
**Requires PHP:** 5.2
1111
**License:** MIT
1212
**License URI:** http://opensource.org/licenses/MIT
@@ -80,6 +80,10 @@ As Webmention uses the REST API endpoint system, most up to date caching plugins
8080

8181
Project and support maintained on github at [pfefferle/wordpress-webmention](https://github.com/pfefferle/wordpress-webmention).
8282

83+
### 3.8.5 ###
84+
85+
* Set correct default value for the "Show comment form" setting
86+
8387
### 3.8.4 ###
8488

8589
* Store vouch property

readme.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: pfefferle, dshanske
33
Donate link: https://notiz.blog/donate/
44
Tags: webmention, pingback, trackback, linkback, indieweb, comment, response
55
Requires at least: 4.7
6-
Tested up to: 4.9.8
7-
Stable tag: 3.8.4
6+
Tested up to: 4.9.9
7+
Stable tag: 3.8.5
88
Requires PHP: 5.2
99
License: MIT
1010
License URI: http://opensource.org/licenses/MIT
@@ -78,6 +78,10 @@ As Webmention uses the REST API endpoint system, most up to date caching plugins
7878

7979
Project and support maintained on github at [pfefferle/wordpress-webmention](https://github.com/pfefferle/wordpress-webmention).
8080

81+
= 3.8.5 =
82+
83+
* Set correct default value for the "Show comment form" setting
84+
8185
= 3.8.4 =
8286

8387
* Store vouch property

webmention.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Webmention support for WordPress posts
66
* Author: Matthias Pfefferle
77
* Author URI: https://notiz.blog/
8-
* Version: 3.8.4
8+
* Version: 3.8.5
99
* License: MIT
1010
* License URI: http://opensource.org/licenses/MIT
1111
* Text Domain: webmention
@@ -100,7 +100,7 @@ public static function get_default_comment_status( $status, $post_type, $comment
100100
public static function comment_form() {
101101
$template = apply_filters( 'webmention_comment_form', plugin_dir_path( __FILE__ ) . 'templates/webmention-comment-form.php' );
102102

103-
if ( 1 === (int) get_option( 'webmention_show_comment_form' ) ) {
103+
if ( 1 === (int) get_option( 'webmention_show_comment_form', 1 ) ) {
104104
load_template( $template );
105105
}
106106
}

0 commit comments

Comments
 (0)