From c51fec5447830e457cf462fa42aaaf5c808d2c68 Mon Sep 17 00:00:00 2001
From: agata <agata@insiberia.net>
Date: Sat, 6 Feb 2021 20:15:25 +0000
Subject: [PATCH] fix trackback 5.6

---
 wp-includes/comment.php | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/wp-includes/comment.php b/wp-includes/comment.php
index eb9c9643c..169131bb6 100644
--- a/wp-includes/comment.php
+++ b/wp-includes/comment.php
@@ -2859,7 +2859,12 @@ function do_all_enclosures() {
 	}
 }
 
-	// NOT Do trackbacks. A/I
+/**
+ * Perform all trackbacks.
+ *
+ * @since 5.6.0
+ */
+function do_all_trackbacks() {
 	$trackbacks = get_posts(
 		array(
 			'post_type'        => get_post_types(),
@@ -2872,8 +2877,10 @@ function do_all_enclosures() {
 
 	foreach ( $trackbacks as $trackback ) {
 		delete_post_meta( $trackback, '_trackbackme' );
-		// do_trackbacks( $trackback );
+		//do_trackbacks( $trackback );
+		// NOT Do trackbacks. A/I
 	}
+}
 
 
 /**
-- 
GitLab