diff --git a/includes/table/class-event-sources.php b/includes/table/class-event-sources.php index 78c74de..6c88586 100644 --- a/includes/table/class-event-sources.php +++ b/includes/table/class-event-sources.php @@ -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() ), diff --git a/tests/includes/activitypub/transmogrifier/class-test-gatherpress.php b/tests/includes/activitypub/transmogrifier/class-test-gatherpress.php index 8db98ac..23a6346 100644 --- a/tests/includes/activitypub/transmogrifier/class-test-gatherpress.php +++ b/tests/includes/activitypub/transmogrifier/class-test-gatherpress.php @@ -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';