mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
git-svn-id: https://develop.svn.wordpress.org/trunk@6593 602fd350-edb4-49c9-b593-d223f7449a82
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