Add Event Sources Logic (ActivityPub follows) #86

Open
linos wants to merge 95 commits from event_sources into main
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 94b7812ecf - Show all commits

View file

@ -118,7 +118,7 @@ class Event_Sources extends WP_List_Table {
'icon' => esc_attr( $actor->get_icon_url() ),
'name' => esc_attr( $actor->get_name() ),
'url' => esc_attr( object_to_uri( $actor->get_id() ) ),
'accepted' => esc_attr( get_post_meta( $actor->get__id(), '_event_bridge_for_activitypub_accept_of_follow', true ) ),
'accepted' => esc_attr( get_post_meta( $actor->get__id(), '_event_bridge_for_activitypub_accept_of_follow', true ) ),
'identifier' => esc_attr( $actor->get_id() ),
'published' => esc_attr( $actor->get_published() ),
'modified' => esc_attr( $actor->get_updated() ),

View file

@ -215,7 +215,7 @@ class Test_GatherPress extends \WP_UnitTestCase {
$event = new Event( $the_query->get_posts()[0] );
$this->assertEquals( 'Updated name', $event->event->post_title );
$this->assertEquals( 'Updated address', $event->get_venue_information()['full address'] );
$this->assertEquals( 'Updated address', $event->get_venue_information()['full_address'] );
// Test delete.
$json['type'] = 'Delete';