PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | templates/embed.php +1 -1 9.3.08.0.2 View file →
@@ -46,9 +46,9 @@
46 46 <h3 class="ap-title p-name"><?php echo \esc_html( $args['title'] ); ?></h3>
47 47 <?php endif; ?>
48 48
49 49 <?php if ( $args['content'] ) : ?>
50 - <div class="ap-subtitle p-summary e-content"><?php echo \Activitypub\Sanitize::content( $args['content'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Sanitize::content() returns kses-sanitized HTML. ?></div>
50 + <div class="ap-subtitle p-summary e-content"><?php echo \wp_kses_post( $args['content'] ); ?></div>
51 51 <?php endif; ?>
52 52
53 53 <?php if ( $args['images'] ) : ?>
54 54 <div class="ap-preview <?php echo \esc_attr( 'layout-' . count( $args['images'] ) ); ?>">