PluginProbe
Friends / 4.3.2
Friends v4.3.2
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
← All changes | includes/class-blocks.php +2 -1 4.2.24.3.2 View file →
@@ -1065,8 +1065,9 @@
1065 1065
1066 1066 $content = get_the_content();
1067 1067 $content = wp_kses_post( $content );
1068 1068 $content = wpautop( $content );
1069 + $content .= Link_Preview::render();
1069 1070
1070 1071 return '<div class="wp-block-friends-post-content">' . $content . '</div>';
1071 1072 }
1072 1073
@@ -1321,9 +1322,9 @@
1321 1322 array(
1322 1323 'class' => 'wp-block-friends-author-name',
1323 1324 'id' => 'page-title',
1324 1325 )
1325 - ) . '>' . wp_kses( Feed_Parser_ActivityPub::replace_custom_emojis_for_user( $author->display_name, $author ), Feed_Parser_ActivityPub::get_custom_emoji_allowed_html() ) . '</h2>';
1326 + ) . '>' . wp_kses_post( apply_filters( 'friends_author_display_name_html', esc_html( $author->display_name ), $author->display_name, $author ) ) . '</h2>';
1326 1327 }
1327 1328
1328 1329 /**
1329 1330 * Render the friends/author-description block.