Skip to content

Commit

Permalink
Fix replying to posts with a different permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Feb 24, 2025
1 parent b09921d commit 2bb1de2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions feed-parsers/class-feed-parser-activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,9 @@ public function cache_url( $url ) {
$post_id = reset( $new_posts );
} else {
$post_id = Feed::url_to_postid( $url );
if ( is_null( $post_id ) ) {
$post_id = Feed::url_to_postid( $item->permalink );
}
}
}
}
Expand Down

0 comments on commit 2bb1de2

Please sign in to comment.