From 4d2a1874e84a21cefff9edf6a8f8f76949ad30da Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 14 Mar 2008 19:08:09 +0000 Subject: [PATCH] Allow plugins to filter the fetched pingback source data. Fixes #3525 props tenpura. git-svn-id: https://develop.svn.wordpress.org/trunk@7296 602fd350-edb4-49c9-b593-d223f7449a82 --- xmlrpc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmlrpc.php b/xmlrpc.php index 954c9fead7..c04abed0af 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -2253,6 +2253,8 @@ class wp_xmlrpc_server extends IXR_Server { if ( !$linea ) return new IXR_Error(16, __('The source URL does not exist.')); + $linea = apply_filters('pre_remote_source', $linea, $pagelinkedto); + // Work around bug in strip_tags(): $linea = str_replace('