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

Here's a patch.
-- tbaboon