Excerpt fix from Mike Little. fixes #2686

git-svn-id: https://develop.svn.wordpress.org/trunk@3785 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-05-19 06:22:11 +00:00
parent adceb4d2b3
commit f81e74015b
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class MT_Import {
// We want the excerpt
preg_match("|-----\nEXCERPT:(.*)|s", $post, $excerpt);
$excerpt = $wpdb->escape(trim($excerpt[1]));
$post_excerpt = $wpdb->escape(trim($excerpt[1]));
$post = preg_replace("|(-----\nEXCERPT:.*)|s", '', $post);
// We're going to put extended body into main body with a more tag