From e65b70763db0a3743e7cbda8cdce26629f592cf3 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Wed, 5 Jul 2023 12:18:48 +0200 Subject: [PATCH] use URL as post-name --- includes/model/class-follower.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/model/class-follower.php b/includes/model/class-follower.php index 297bb36..5dd7e2a 100644 --- a/includes/model/class-follower.php +++ b/includes/model/class-follower.php @@ -148,6 +148,7 @@ class Follower extends Actor { 'post_title' => $this->get_name(), 'post_author' => 0, 'post_type' => Followers::POST_TYPE, + 'post_name' => $this->get_id(), 'post_content' => $this->get_summary(), 'post_status' => 'publish', 'meta_input' => $this->get_post_meta_input(),