[wp-trac] [WordPress Trac] #34141: Allow Plugins Access to Pingback Source HTML
WordPress Trac
noreply at wordpress.org
Wed Feb 24 00:55:03 UTC 2016
#34141: Allow Plugins Access to Pingback Source HTML
----------------------------------------+-----------------------------
Reporter: dshanske | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.5
Component: Pings/Trackbacks | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit 4.5-early | Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"36661"]:
{{{
#!CommitTicketReference repository="" revision="36661"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34141#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list