This commit is contained in:
Matthias Pfefferle 2023-05-03 14:54:34 +02:00
parent 72f72e79b8
commit 7127b0a568

View file

@ -217,6 +217,7 @@ class Followers {
} }
$follower = new Follower( $actor ); $follower = new Follower( $actor );
$follower->from_meta( $meta );
$follower->upsert(); $follower->upsert();
$result = wp_set_object_terms( $user_id, $follower->get_actor(), self::TAXONOMY, true ); $result = wp_set_object_terms( $user_id, $follower->get_actor(), self::TAXONOMY, true );