WordPress type is integer not int
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 46s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m10s
PHPUnit / PHPUnit – PHP 8.4 (pull_request) Successful in 1m7s
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 46s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m10s
PHPUnit / PHPUnit – PHP 8.4 (pull_request) Successful in 1m7s
This commit is contained in:
parent
6950d52264
commit
7e75e61b70
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ class Event_Sources {
|
||||||
self::POST_TYPE,
|
self::POST_TYPE,
|
||||||
'_event_bridge_for_activitypub_event_count',
|
'_event_bridge_for_activitypub_event_count',
|
||||||
array(
|
array(
|
||||||
'type' => 'int',
|
'type' => 'integer',
|
||||||
'single' => true,
|
'single' => true,
|
||||||
'sanitize_callback' => 'absint',
|
'sanitize_callback' => 'absint',
|
||||||
'default' => '0',
|
'default' => '0',
|
||||||
|
|
|
@ -109,7 +109,7 @@ class Settings {
|
||||||
'event-bridge-for-activitypub',
|
'event-bridge-for-activitypub',
|
||||||
'event_bridge_for_activitypub_event_source_cache_retention',
|
'event_bridge_for_activitypub_event_source_cache_retention',
|
||||||
array(
|
array(
|
||||||
'type' => 'int',
|
'type' => 'integer',
|
||||||
'show_in_rest' => true,
|
'show_in_rest' => true,
|
||||||
'description' => \__( 'The cache retention period for external event sources.', 'event-bridge-for-activitypub' ),
|
'description' => \__( 'The cache retention period for external event sources.', 'event-bridge-for-activitypub' ),
|
||||||
'default' => WEEK_IN_SECONDS,
|
'default' => WEEK_IN_SECONDS,
|
||||||
|
|
Loading…
Reference in a new issue