fix escaping

This commit is contained in:
Matthias Pfefferle 2023-07-27 17:30:35 +02:00
parent ca5a3e24b1
commit d456e86d1a

View file

@ -126,7 +126,7 @@ class Follower extends Actor {
'post_author' => 0,
'post_type' => Followers::POST_TYPE,
'post_name' => esc_url_raw( $this->get_id() ),
'post_excerpt' => esc_html( $this->get_summary() ) ? $this->get_summary() : '',
'post_excerpt' => $this->get_summary() ? esc_html( $this->get_summary() ) : '',
'post_status' => 'publish',
'meta_input' => $this->get_post_meta_input(),
);