Comments: In wp_xmlrpc_server::pingback_ping():

* Rename `$linea` to `$remote_source` for clarity. 
* Add `remote_source` to comment data, so it's available to `preprocess_comment` and `comment_post` filters.
* Pass the original (unfiltered) response source to the filters too (as `remote_source_original` in comment data).

Props dshanske for the original patch.
Fixes #34141.
Built from https://develop.svn.wordpress.org/trunk@36661


git-svn-id: http://core.svn.wordpress.org/trunk@36628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2016-02-24 00:55:26 +00:00
parent 74f707ff6b
commit 7c66e0648a
2 changed files with 19 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36660';
$wp_version = '4.5-alpha-36661';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.