Make WordPress Core


Ignore:
Timestamp:
01/10/2008 09:27:08 PM (17 years ago)
Author:
westi
Message:

Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.

File:
1 edited

Legend:

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

    r6472 r6593  
    7272            }
    7373
    74             preg_match('|<guid.+?>(.*?)</guid>|is', $post, $guid);
     74            preg_match('|<guid.*?>(.*?)</guid>|is', $post, $guid);
    7575            if ($guid)
    7676                $guid = $wpdb->escape(trim($guid[1]));
Note: See TracChangeset for help on using the changeset viewer.