updated plugin ActivityPub version 9.1.0

This commit is contained in:
2026-07-28 15:03:10 +00:00
committed by Gitium
parent bf428f0e45
commit ff806e1811
217 changed files with 6098 additions and 3025 deletions

View File

@ -30,8 +30,8 @@ class Seriously_Simple_Podcasting extends Post {
public function get_attachment() {
$post = $this->item;
$attachment = array(
'type' => \esc_attr( ucfirst( \get_post_meta( $post->ID, 'episode_type', true ) ?? 'Audio' ) ),
'url' => \esc_url( \get_post_meta( $post->ID, 'audio_file', true ) ),
'type' => \esc_attr( \ucfirst( \get_post_meta( $post->ID, 'episode_type', true ) ?? 'Audio' ) ),
'url' => \esc_url_raw( \get_post_meta( $post->ID, 'audio_file', true ) ),
'name' => \esc_attr( \get_the_title( $post->ID ) ?? '' ),
);
@ -41,7 +41,7 @@ class Seriously_Simple_Podcasting extends Post {
}
if ( $icon ) {
$attachment['icon'] = \esc_url( object_to_uri( $icon ) );
$attachment['icon'] = \esc_url_raw( object_to_uri( $icon ) );
}
return array( $attachment );