Make WordPress Core


Ignore:
Timestamp:
05/19/2006 06:22:55 AM (16 years ago)
Author:
ryan
Message:

Excerpt fix from Mike Little. fixes #2686

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/import/mt.php

    r3387 r3786  
    194194                // We want the excerpt
    195195                preg_match("|-----\nEXCERPT:(.*)|s", $post, $excerpt);
    196                 $excerpt = $wpdb->escape(trim($excerpt[1]));
     196                $post_excerpt = $wpdb->escape(trim($excerpt[1]));
    197197                $post = preg_replace("|(-----\nEXCERPT:.*)|s", '', $post);
    198198
Note: See TracChangeset for help on using the changeset viewer.