set context for output
This commit is contained in:
parent
a706bef130
commit
43db2f2707
2 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
$user = \Activitypub\User_Factory::get_by_id( \get_the_author_meta( 'ID' ) );
|
||||
|
||||
$user->set_context(
|
||||
\Activitypub\Model\Activity::CONTEXT
|
||||
);
|
||||
|
||||
/*
|
||||
* Action triggerd prior to the ActivityPub profile being created and sent to the client
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
$user = new \Activitypub\Model\Blog_User();
|
||||
|
||||
$user->set_context(
|
||||
\Activitypub\Model\Activity::CONTEXT
|
||||
);
|
||||
|
||||
/*
|
||||
* Action triggerd prior to the ActivityPub profile being created and sent to the client
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue