Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -71,7 +71,7 @@ class RSS_Import {
|
||||
$cat_index++;
|
||||
}
|
||||
|
||||
preg_match('|<guid.+?>(.*?)</guid>|is', $post, $guid);
|
||||
preg_match('|<guid.*?>(.*?)</guid>|is', $post, $guid);
|
||||
if ($guid)
|
||||
$guid = $wpdb->escape(trim($guid[1]));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user