[wp-trac] [WordPress Trac] #18506: Filter to allow pingback URLs to be added (from custom fields, etc.)

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 24 21:42:11 UTC 2012


#18506: Filter to allow pingback URLs to be added (from custom fields, etc.)
---------------------------------+-----------------------------
 Reporter:  alexkingorg          |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  Pings/Trackbacks     |     Version:  3.2.1
 Severity:  normal               |  Resolution:
 Keywords:  3.4-early has-patch  |
---------------------------------+-----------------------------

Comment (by nacin):

 This filter should be enough, actually:

 `do_action_ref_array('pre_ping', array(&$post_links, &$pung));`

 We could then add $post_ID to that, like so:

 `do_action_ref_array('pre_ping', array(&$post_links, &$pung, $post_ID));`

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18506#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list