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:
parent
adceb4d2b3
commit
f81e74015b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user