[wp-trac] Re: [WordPress Trac] #10028: Trackbacks from Serendipity don't work out of the box

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 4 08:42:30 GMT 2009


#10028: Trackbacks from Serendipity don't work out of the box
------------------------------+---------------------------------------------
 Reporter:  utele             |       Owner:                        
     Type:  defect (bug)      |      Status:  new                   
 Priority:  normal            |   Milestone:  Future Release        
Component:  Pings/Trackbacks  |     Version:                        
 Severity:  normal            |    Keywords:  trackback, serendipity
------------------------------+---------------------------------------------

Comment(by Denis-de-Bernardy):

 Just for reference in case someone wants to write a patch:

 {{{
 if ( is_singular() ) {
   setup_postdata($wp_the_query->get_queried_object());
   if ( pings_open() )
     add_action('wp_head', 'add_trackback_rdf');
 }
 }}}

 Where add_trackback_rdf() wraps trackback_rdf() into a comment block.

 That way, the rdf is in the <head> area, in case auto-discovery only scans
 the target page's first couple of lines.

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


More information about the wp-trac mailing list