From ef86fb2263fa5e63dbc25f03dc964c33acf59c20 Mon Sep 17 00:00:00 2001 From: ruru4143 Date: Sun, 29 Sep 2024 16:01:28 +0200 Subject: [PATCH] forgot to rename method call --- includes/activitypub/transformer/class-event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/activitypub/transformer/class-event.php b/includes/activitypub/transformer/class-event.php index 86c2e64..1ae2306 100644 --- a/includes/activitypub/transformer/class-event.php +++ b/includes/activitypub/transformer/class-event.php @@ -235,7 +235,7 @@ abstract class Event extends Post { // - either use the (userdefined) template of the activitypub plugin as it is. // - or implement our own templating (based on the activitypub plugin templates / by reusing their code heavily). add_filter( 'activitypub_object_content_template', array( self::class, 'remove_ap_permalink_from_template' ), 2 ); - $excerpt = $this->extract_excerpt(); + $excerpt = $this->get_excerpt(); // BeforeFirstRelease: decide whether this should be a admin setting. $fallback_to_content = true; if ( is_null( $excerpt ) && $fallback_to_content ) {