Skip to content

Commit 2d249be

Browse files
authored
Merge pull request #462 from pfefferle/comment-style
Comment style
2 parents ac4d217 + 0971bb8 commit 2d249be

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

includes/class-comment-walker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ protected function avatar_only( $comment, $depth, $args ) {
185185
protected function html5_comment( $comment, $depth, $args ) {
186186
// Only call this local version for comments that are webmention based.
187187
if ( 'webmention' !== get_comment_meta( $comment->comment_ID, 'protocol', true ) ) {
188-
parent::comment( $comment, $depth, $args );
188+
parent::html5_comment( $comment, $depth, $args );
189189
return;
190190
}
191191

readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**Tags:** webmention, pingback, trackback, linkback, indieweb, comment, response
55
**Requires at least:** 4.9
66
**Tested up to:** 6.4
7-
**Stable tag:** 5.2.4
7+
**Stable tag:** 5.2.5
88
**Requires PHP:** 5.6
99
**License:** MIT
1010
**License URI:** https://opensource.org/licenses/MIT
@@ -99,6 +99,10 @@ While not all display options can be settings, we are looking to provide some si
9999

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

102+
### 5.2.5 ###
103+
104+
* Comment Walker was calling regular not html5 version of comment function when falling back.
105+
102106
### 5.2.4 ###
103107

104108
* Fix fatal PHP error

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
44
Tags: webmention, pingback, trackback, linkback, indieweb, comment, response
55
Requires at least: 4.9
66
Tested up to: 6.4
7-
Stable tag: 5.2.4
7+
Stable tag: 5.2.5
88
Requires PHP: 5.6
99
License: MIT
1010
License URI: https://opensource.org/licenses/MIT
@@ -99,6 +99,10 @@ While not all display options can be settings, we are looking to provide some si
9999

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

102+
= 5.2.5 =
103+
104+
* Comment Walker was calling regular not html5 version of comment function when falling back.
105+
102106
= 5.2.4 =
103107

104108
* Fix fatal PHP error

webmention.php

Lines changed: 1 addition & 1 deletion
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: 5.2.4
8+
* Version: 5.2.5
99
* License: MIT
1010
* License URI: https://opensource.org/licenses/MIT
1111
* Text Domain: webmention

0 commit comments

Comments
 (0)