Ticket #37007: 37007.3.diff
File 37007.3.diff, 821 bytes (added by , 8 years ago) |
---|
-
src/wp-trackback.php
91 92 } 92 93 93 94 if ( !empty($tb_url) && !empty($title) ) { 95 /** 96 * Fires before the trackback is added to a post. 97 * 98 * @since 4.7.0 99 * 100 * @param int $tb_id Post ID related to the trackback. 101 * @param string $tb_url Trackback URL. 102 * @param string $charset Character Set. 103 * @param string $title Trackback Title. 104 * @param string $excerpt Trackback Excerpt. 105 * @param string $blog_name Blog Name. 106 */ 107 do_action( 'pre_trackback_post', $tb_id, $tb_url, $charset, $title, $excerpt, $blog_name ); 108 94 109 header('Content-Type: text/xml; charset=' . get_option('blog_charset') ); 95 110 96 111 if ( !pings_open($tb_id) )