Skip to content

Commit 8299a62

Browse files
committed
Fix pingback fallback
1 parent 798a625 commit 8299a62

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

includes/class-sender.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ public static function send_webmentions( $post_id ) {
187187
// send Webmention
188188
$response = self::send_webmention( $source, $target, $post_id );
189189

190+
if ( ! $response ) {
191+
continue;
192+
}
193+
190194
// check response
191195
if (
192196
! is_wp_error( $response ) &&

languages/webmention.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is distributed under the MIT.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Webmention 5.2.2\n"
5+
"Project-Id-Version: Webmention 5.2.3\n"
66
"Report-Msgid-Bugs-To: "
77
"https://wordpress.org/support/plugin/wordpress-webmention\n"
8-
"POT-Creation-Date: 2024-01-03 09:12:00+00:00\n"
8+
"POT-Creation-Date: 2024-01-11 17:21:58+00:00\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=utf-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"

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.2
7+
**Stable tag:** 5.2.3
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.3 ###
103+
104+
* Fix pingback fallback (and happy birthday Matt https://ma.tt/2024/01/birthday-gift/)
105+
102106
### 5.2.2 ###
103107

104108
* Improve fallback handling to avoid "Anonymous" as post author

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.2
7+
Stable tag: 5.2.3
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.3 =
103+
104+
* Fix pingback fallback (and happy birthday Matt https://ma.tt/2024/01/birthday-gift/)
105+
102106
= 5.2.2 =
103107

104108
* Improve fallback handling to avoid "Anonymous" as post author

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.2
8+
* Version: 5.2.3
99
* License: MIT
1010
* License URI: https://opensource.org/licenses/MIT
1111
* Text Domain: webmention

0 commit comments

Comments
 (0)