RSS import ignores post_author
|Reported by:||oregondean||Owned by:||tbaboon|
|Component:||Import||Keywords:||RSS, import, author, has-patch, needs-testing|
RSS.php import defaults the $post_author to "1", which is the WPMU admin and seldom the proper imported post author.
Suggest an improvement to the RSS.php import routine (around line 98) to check to see if "dc:creator" is numeric. If so, use the numeric value as the $post_author. If not, default to 1. (or see below)
A separate ticket will be used to suggest the import.php routine prompt for a global author ID (if one is not expected to be part of the import) for all posts being imported. In this case RSS.php would need to allow for an additional parameter, post_author, to be passed from import.php.
Change History (4)
comment:1 @oregondean — 6 years ago
- Component changed from Administration to Import
- Owner anonymous deleted
- Cc tbaboon added
- Keywords has-patch needs-testing added
- Owner set to tbaboon
- Status changed from new to assigned