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 9f09bfb commit 88ab980Copy full SHA for 88ab980
includes/model/class-post.php
@@ -1,6 +1,7 @@
1
<?php
2
namespace Activitypub\Model;
3
4
+use Activitypub\Collection\Users;
5
use Activitypub\Transformer\Post as Post_Transformer;
6
7
/**
@@ -61,7 +62,7 @@ public function to_array() {
61
62
* @return string The URL of the Actor.
63
*/
64
public function get_actor() {
- $user = User_Factory::get_by_id( $this->get_user_id() );
65
+ $user = Users::get_by_id( $this->get_user_id() );
66
67
return $user->get_url();
68
}
0 commit comments