Make WordPress Core


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

Excerpt fix from Mike Little. fixes #2686

File:
1 edited

Legend:

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

    r3769 r3785  
    198198                // We want the excerpt
    199199                preg_match("|-----\nEXCERPT:(.*)|s", $post, $excerpt);
    200                 $excerpt = $wpdb->escape(trim($excerpt[1]));
     200                $post_excerpt = $wpdb->escape(trim($excerpt[1]));
    201201                $post = preg_replace("|(-----\nEXCERPT:.*)|s", '', $post);
    202202
Note: See TracChangeset for help on using the changeset viewer.