[wp-trac] [WordPress Trac] #34141: Allow Plugins Access to Pingback Source HTML
WordPress Trac
noreply at wordpress.org
Fri Oct 23 06:58:17 UTC 2015
#34141: Allow Plugins Access to Pingback Source HTML
----------------------------------------+-----------------------------
Reporter: dshanske | Owner: SergeyBiryukov
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Pings/Trackbacks | Version:
Severity: normal | Resolution:
Keywords: has-patch commit 4.5-early | Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: 2nd-opinion has-patch => has-patch commit 4.5-early
Comment:
I think [attachment:34141.diff] would be the preferred approach here.
In [attachment:34141.3.diff]:
* Rename `$linea` to `$remote_source` for clarity.
* Add `'remote_source'` to comment data, so it's available to the
`'preprocess_comment'` filter.
* Pass comment data to the `'comment_post'` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34141#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list