WIP: Add Event Sources Logic (ActivityPub follows) #86

Draft
linos wants to merge 36 commits from event_sources into main
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 6e92f2a5b8 - Show all commits

View file

@ -178,7 +178,7 @@ class Event_Sources {
*
* @param string $actor The Actor URL.
*
* @return WP_Post|false|null Post data on success, false or null on failure.
* @return WP_Post|false|null Post data on success, false or null on failure.
*/
public static function remove_event_source( $actor ) {
$post_id = Event_Source::get_wp_post_from_activitypub_actor_id( $actor );

View file

@ -349,7 +349,7 @@ class GatherPress {
$address = (array) $address;
}
if ( ! is_array( $address ) || ! isset( $address['type'] ) ){
if ( ! is_array( $address ) || ! isset( $address['type'] ) ) {
return '';
}

View file

@ -30,7 +30,7 @@ require_once ABSPATH . 'wp-admin/includes/plugin.php';
/**
* Class Setup.
*
* This class is responsible for initializing Event Bridge for ActivityPub.
*
* @since 1.0.0