[wp-trac] [WordPress Trac] #3665: typo in wp-trackback
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 24 23:03:11 GMT 2007
#3665: typo in wp-trackback
-------------------------+--------------------------------------------------
Reporter: Mittineague | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.3
Component: General | Version: 2.1
Severity: minor | Keywords: trackback
-------------------------+--------------------------------------------------
This doesn't seem to be causing any problems, but it doesn't look right.
(my comment added)
{{{
if (empty($title) && empty($tb_url) && empty($blog_name)) {
// If it doesn't look like a trackback at all...
wp_redirect(get_permalink($tb_id));
exit;
}
/** second !empty($tb_url) is unecessary, SHOULD BE $blog_name or ?? **/
if ( !empty($tb_url) && !empty($title) && !empty($tb_url) ) {
header('Content-Type: text/xml; charset=' .
get_option('blog_charset') );
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/3665>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list