Remove redundant check. Props Mittineague. fixes #3665
git-svn-id: http://svn.automattic.com/wordpress/trunk@4801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
33d8407781
commit
858ba5eaa8
|
@ -66,7 +66,7 @@ if (empty($title) && empty($tb_url) && empty($blog_name)) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !empty($tb_url) && !empty($title) && !empty($tb_url) ) {
|
if ( !empty($tb_url) && !empty($title) ) {
|
||||||
header('Content-Type: text/xml; charset=' . get_option('blog_charset') );
|
header('Content-Type: text/xml; charset=' . get_option('blog_charset') );
|
||||||
|
|
||||||
$pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $tb_id");
|
$pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $tb_id");
|
||||||
|
|
Loading…
Reference in New Issue