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 7e75e61b70 - Show all commits

View file

@ -155,7 +155,7 @@ class Event_Sources {
self::POST_TYPE,
'_event_bridge_for_activitypub_event_count',
array(
'type' => 'int',
'type' => 'integer',
'single' => true,
'sanitize_callback' => 'absint',
'default' => '0',

View file

@ -109,7 +109,7 @@ class Settings {
'event-bridge-for-activitypub',
'event_bridge_for_activitypub_event_source_cache_retention',
array(
'type' => 'int',
'type' => 'integer',
'show_in_rest' => true,
'description' => \__( 'The cache retention period for external event sources.', 'event-bridge-for-activitypub' ),
'default' => WEEK_IN_SECONDS,