mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user