Add Event Sources Logic (ActivityPub follows) #86
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue