From 878a79d7b2275aed9287f3b17faad435346d21a8 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Tue, 7 Oct 2003 16:25:58 +0000 Subject: [PATCH] Incorrect variable name meant that if there was no manual excerpt for an entry there was no excerpt sent with the trackback. git-svn-id: http://svn.automattic.com/wordpress/trunk@420 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/b2edit.php b/wp-admin/b2edit.php index 1987a4728e..0bffbfa8cf 100644 --- a/wp-admin/b2edit.php +++ b/wp-admin/b2edit.php @@ -139,7 +139,7 @@ switch($action) { } else { $the_excerpt = (strlen(strip_tags($content)) > 255) ? substr(strip_tags($content), 0, 252) . '...' : strip_tags($content); } - $excerpt = stripslashes($excerpt); + $excerpt = stripslashes($the_excerpt); $trackback_urls = explode(',', $HTTP_POST_VARS['trackback_url']); foreach($trackback_urls as $tb_url) { $tb_url = trim($tb_url);