Skip to content

Commit

Permalink
fixed webmention_show_comment_form default value
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Oct 15, 2018
1 parent d30c06e commit 7dbb68d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions languages/webmention.pot
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the MIT.
msgid ""
msgstr ""
"Project-Id-Version: Webmention 3.8.4\n"
"Project-Id-Version: Webmention 3.8.5\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/webmention\n"
"POT-Creation-Date: 2018-09-04 18:33:40+00:00\n"
"POT-Creation-Date: 2018-10-15 18:02:28+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
8 changes: 6 additions & 2 deletions readme.md
Expand Up @@ -5,8 +5,8 @@
**Donate link:** https://notiz.blog/donate/
**Tags:** webmention, pingback, trackback, linkback, indieweb, comment, response
**Requires at least:** 4.7
**Tested up to:** 4.9.8
**Stable tag:** 3.8.4
**Tested up to:** 4.9.9
**Stable tag:** 3.8.5
**Requires PHP:** 5.2
**License:** MIT
**License URI:** http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -80,6 +80,10 @@ As Webmention uses the REST API endpoint system, most up to date caching plugins

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

### 3.8.5 ###

* Set correct default value for the "Show comment form" setting

### 3.8.4 ###

* Store vouch property
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Expand Up @@ -3,8 +3,8 @@ Contributors: pfefferle, dshanske
Donate link: https://notiz.blog/donate/
Tags: webmention, pingback, trackback, linkback, indieweb, comment, response
Requires at least: 4.7
Tested up to: 4.9.8
Stable tag: 3.8.4
Tested up to: 4.9.9
Stable tag: 3.8.5
Requires PHP: 5.2
License: MIT
License URI: http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -78,6 +78,10 @@ As Webmention uses the REST API endpoint system, most up to date caching plugins

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

= 3.8.5 =

* Set correct default value for the "Show comment form" setting

= 3.8.4 =

* Store vouch property
Expand Down
4 changes: 2 additions & 2 deletions webmention.php
Expand Up @@ -5,7 +5,7 @@
* Description: Webmention support for WordPress posts
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
* Version: 3.8.4
* Version: 3.8.5
* License: MIT
* License URI: http://opensource.org/licenses/MIT
* Text Domain: webmention
Expand Down Expand Up @@ -100,7 +100,7 @@ public static function get_default_comment_status( $status, $post_type, $comment
public static function comment_form() {
$template = apply_filters( 'webmention_comment_form', plugin_dir_path( __FILE__ ) . 'templates/webmention-comment-form.php' );

if ( 1 === (int) get_option( 'webmention_show_comment_form' ) ) {
if ( 1 === (int) get_option( 'webmention_show_comment_form', 1 ) ) {
load_template( $template );
}
}
Expand Down

0 comments on commit 7dbb68d

Please sign in to comment.