[wp-trac] [WordPress Trac] #34141: Allow Plugins Access to Pingback Source HTML

WordPress Trac noreply at wordpress.org
Thu Jan 21 17:53:29 UTC 2016


#34141: Allow Plugins Access to Pingback Source HTML
----------------------------------------+-----------------------------
 Reporter:  dshanske                    |       Owner:  SergeyBiryukov
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  4.5
Component:  Pings/Trackbacks            |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch commit 4.5-early  |     Focuses:
----------------------------------------+-----------------------------

Comment (by westi):

 Replying to [comment:18 SergeyBiryukov]:
 > 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.

 This looks like a sane solution to me.

 I don't think we should auto-persist the remote-source but making it
 available for plugins to use seems like a reasonable idea.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34141#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list