use URL as post-name

This commit is contained in:
Matthias Pfefferle 2023-07-05 12:18:48 +02:00
parent 07b0ae6e2d
commit e65b70763d

View file

@ -148,6 +148,7 @@ class Follower extends Actor {
'post_title' => $this->get_name(), 'post_title' => $this->get_name(),
'post_author' => 0, 'post_author' => 0,
'post_type' => Followers::POST_TYPE, 'post_type' => Followers::POST_TYPE,
'post_name' => $this->get_id(),
'post_content' => $this->get_summary(), 'post_content' => $this->get_summary(),
'post_status' => 'publish', 'post_status' => 'publish',
'meta_input' => $this->get_post_meta_input(), 'meta_input' => $this->get_post_meta_input(),