#8982 closed defect (bug) (invalid)
RSS import ignores post_author
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7 |
Component: | Import | Keywords: | RSS, import, author, has-patch, needs-testing |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Here's a patch.
-- tbaboon