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

This commit is contained in:
André Menrath 2024-10-29 21:23:50 +01:00
parent 37bd66ee9b
commit ba922e6030

View file

@ -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 );