[wp-trac] [WordPress Trac] #37007: Allow Ability to Disable Pingbacks and Trackbacks by Protocol

WordPress Trac noreply at wordpress.org
Tue Oct 4 00:22:08 UTC 2016


#37007: Allow Ability to Disable Pingbacks and Trackbacks by Protocol
------------------------------------+------------------
 Reporter:  dshanske                |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  low                     |   Milestone:  4.7
Component:  Pings/Trackbacks        |     Version:  1.2
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------

Comment (by rachelbaker):

 @dshanske Looking through [attachment:37007.2.diff] I started feeling as
 though this hook would be more useful if we could include a populated
 `$td_id` (the comment_post_ID).  To do that, the action needs to move
 lower in the function to occur JUST before the trackback is added.  See
 [attachment:37007.3.diff] where I move the `pre_trackback_post` action
 down several lines and add the `$tb_id` parameter.
 Would this still fit your use-case?

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


More information about the wp-trac mailing list