Skip to content

Commit

Permalink
Merge pull request #462 from pfefferle/comment-style
Browse files Browse the repository at this point in the history
Comment style
  • Loading branch information
pfefferle authored Mar 12, 2024
2 parents ac4d217 + 0971bb8 commit 2d249be
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/class-comment-walker.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected function avatar_only( $comment, $depth, $args ) {
protected function html5_comment( $comment, $depth, $args ) {
// Only call this local version for comments that are webmention based.
if ( 'webmention' !== get_comment_meta( $comment->comment_ID, 'protocol', true ) ) {
parent::comment( $comment, $depth, $args );
parent::html5_comment( $comment, $depth, $args );
return;
}

Expand Down
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Tags:** webmention, pingback, trackback, linkback, indieweb, comment, response
**Requires at least:** 4.9
**Tested up to:** 6.4
**Stable tag:** 5.2.4
**Stable tag:** 5.2.5
**Requires PHP:** 5.6
**License:** MIT
**License URI:** https://opensource.org/licenses/MIT
Expand Down Expand Up @@ -99,6 +99,10 @@ While not all display options can be settings, we are looking to provide some si

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

### 5.2.5 ###

* Comment Walker was calling regular not html5 version of comment function when falling back.

### 5.2.4 ###

* Fix fatal PHP error
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
Tags: webmention, pingback, trackback, linkback, indieweb, comment, response
Requires at least: 4.9
Tested up to: 6.4
Stable tag: 5.2.4
Stable tag: 5.2.5
Requires PHP: 5.6
License: MIT
License URI: https://opensource.org/licenses/MIT
Expand Down Expand Up @@ -99,6 +99,10 @@ While not all display options can be settings, we are looking to provide some si

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

= 5.2.5 =

* Comment Walker was calling regular not html5 version of comment function when falling back.

= 5.2.4 =

* Fix fatal PHP error
Expand Down
2 changes: 1 addition & 1 deletion webmention.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Webmention support for WordPress posts
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
* Version: 5.2.4
* Version: 5.2.5
* License: MIT
* License URI: https://opensource.org/licenses/MIT
* Text Domain: webmention
Expand Down

0 comments on commit 2d249be

Please sign in to comment.