[wp-trac] [WordPress Trac] #38197: Deprecate and Replace Pingback() Function

WordPress Trac noreply at wordpress.org
Fri Sep 30 11:07:48 UTC 2016


#38197: Deprecate and Replace Pingback() Function
------------------------------+-----------------------------
 Reporter:  dshanske          |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Pings/Trackbacks  |    Version:
 Severity:  normal            |   Keywords:  good-first-bug
  Focuses:  performance       |
------------------------------+-----------------------------
 Related to #36824.

 The current pingback function accepts two parameters...content and
 $post_ID. Suggesting a new function, perhaps send_ping( $post_ID|$post )
 which retrieves the post object instead and gets the content from that.

 The current function having to pass the content doesn't make sense. In
 #36824, the proposal was to improve performance of the do_all_pings
 function.

 The new function should also optionally return true or a WP_Error object
 in the event the sending fails, for debugging purposes.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38197>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list