removed todo
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 37s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 59s

This commit is contained in:
ruru4143 2024-10-01 19:03:44 +02:00
parent ad09fa947c
commit b3b07d4b6a

View file

@ -231,7 +231,6 @@ abstract class Event extends Post {
* @return string $summary The custom event summary.
*/
public function get_summary(): ?string {
// todo when do we add the filter? we could add it and just keep it?
add_filter( 'activitypub_object_content_template', array( self::class, 'remove_ap_permalink_from_template' ), 2, 2 );
$excerpt = $this->extract_excerpt();
// BeforeFirstRelease: decide whether this should be a admin setting.