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 | includes/transformer/class-activity-object.php +2 -2 9.2.08.0.2 View file →
@@ -65,9 +65,9 @@
65 65 * @param \Activitypub\Activity\Activity $item The Activity object.
66 66 *
67 67 * @return array The filtered mentions.
68 68 */
69 - return \apply_filters(
69 + return apply_filters(
70 70 'activitypub_extract_mentions',
71 71 array(),
72 72 $this->item->get_content() . ' ' . $this->item->get_summary(),
73 73 $this->item
@@ -144,9 +144,9 @@
144 144 if ( $mentions ) {
145 145 foreach ( $mentions as $mention => $url ) {
146 146 $tag = array(
147 147 'type' => 'Mention',
148 - 'href' => \esc_url_raw( $url ),
148 + 'href' => \esc_url( $url ),
149 149 'name' => \esc_html( $mention ),
150 150 );
151 151 $tags[] = $tag;
152 152 }