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
This commit is contained in:
saxmatt 2003-10-07 16:25:58 +00:00
parent e892d3eb12
commit 878a79d7b2
1 changed files with 1 additions and 1 deletions

View File

@ -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);