fix typo
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 46s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 57s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 58s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 58s
/ upload-release (push) Successful in 3s
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 46s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 57s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 58s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 58s
/ upload-release (push) Successful in 3s
This commit is contained in:
parent
37bd66ee9b
commit
ba922e6030
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ class Setup {
|
||||||
foreach ( $this->active_event_plugins as $event_plugin ) {
|
foreach ( $this->active_event_plugins as $event_plugin ) {
|
||||||
if ( ! in_array( $event_plugin->get_post_type(), $activitypub_supported_post_types, true ) ) {
|
if ( ! in_array( $event_plugin->get_post_type(), $activitypub_supported_post_types, true ) ) {
|
||||||
$activitypub_supported_post_types[] = $event_plugin->get_post_type();
|
$activitypub_supported_post_types[] = $event_plugin->get_post_type();
|
||||||
add_post_type_support( $event_plugin->get_post_type(), 'activitypub-event-bridge' );
|
add_post_type_support( $event_plugin->get_post_type(), 'activitypub' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
update_option( 'activitypub_support_post_types', $activitypub_supported_post_types );
|
update_option( 'activitypub_support_post_types', $activitypub_supported_post_types );
|
||||||
|
|
Loading…
Reference in a new issue