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: https://develop.svn.wordpress.org/trunk@420 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-10-07 16:25:58 +00:00
parent db3adc49c0
commit a426b60900
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);