Excerpt fix from Mike Little. fixes #2686

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-05-19 06:22:55 +00:00
parent 32e899d12b
commit 58bf75d3d8

View File

@ -193,7 +193,7 @@ class MT_Import {
// We want the excerpt // We want the excerpt
preg_match("|-----\nEXCERPT:(.*)|s", $post, $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); $post = preg_replace("|(-----\nEXCERPT:.*)|s", '', $post);
// We're going to put extended body into main body with a more tag // We're going to put extended body into main body with a more tag