forgot to rename method call
Some checks failed
Some checks failed
This commit is contained in:
parent
d3f16706f8
commit
ef86fb2263
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ abstract class Event extends Post {
|
||||||
// - either use the (userdefined) template of the activitypub plugin as it is.
|
// - 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).
|
// - 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 );
|
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.
|
// BeforeFirstRelease: decide whether this should be a admin setting.
|
||||||
$fallback_to_content = true;
|
$fallback_to_content = true;
|
||||||
if ( is_null( $excerpt ) && $fallback_to_content ) {
|
if ( is_null( $excerpt ) && $fallback_to_content ) {
|
||||||
|
|
Loading…
Reference in a new issue