[wp-trac] [WordPress Trac] #34419: Update Pingback Processing Code
WordPress Trac
noreply at wordpress.org
Fri Oct 23 21:36:26 UTC 2015
#34419: Update Pingback Processing Code
------------------------------+-----------------------------
Reporter: dshanske | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Pings/Trackbacks | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
Related to #34141, which would pass the retrieved pingback source to
preprocess_comment and comment_post for additional processing,
pingback_ping currently strips all content from the source as part of its
processing.
Suggesting that specifically:
1. Sanitization be done using core sanitization functions(wp_kses, etc)
2. The code that returns relevant errors(URL not found, etc), be processed
ahead of anything else.
3. The older code that duplicates the functionality of url_to_postid noted
as FIXME be removed. If there really is another difference, that should be
an enhancement to url_to_postid.
This, combined with the enhancements in #34141, would allow moving toward
improving linkback presentation(#32653), which is a long term goal.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34419>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list