We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea3f58 commit a548d1fCopy full SHA for a548d1f
includes/model/class-post.php
@@ -71,7 +71,7 @@ public function generate_id() {
71
$post = $this->post;
72
73
if ( 'trash' === get_post_status( $post ) ) {
74
- $permalink = \get_post_meta( $post, 'activitypub_canonical_url', true );
+ $permalink = \get_post_meta( $post->ID, 'activitypub_canonical_url', true );
75
} else {
76
$permalink = \get_permalink( $post );
77
}
0 commit comments