#27792 closed defect (bug) (fixed)
edit multiple posts of different authors, authornames will change
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8.3 | Priority: | highest omg bbq |
Severity: | blocker | Version: | 3.8.2 |
Component: | Quick/Bulk Edit | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
WP 3.8.2
I have multiple authors on my blog. Every week the posts get a tag with a weeknumber. Some authors forget, so weekly I check on this and 'bulk edit' the tags.
Now I saw a bug. When I make a change on multiple posts the author gets changed for all selected posts. I only change tags here. I made sure the author is not changed.
Regards,
Mischa de Muynck (www.3x50.nl)
Attachments (4)
Change History (13)
#1
@
11 years ago
- Component changed from General to Quick/Bulk Edit
- Milestone changed from Awaiting Review to 3.8.3
- Priority changed from normal to highest omg bbq
- Severity changed from normal to blocker
@
11 years ago
untested & reverts [27990] since it's not needed with this approach, revert is 100% optional
#4
@
11 years ago
27792.2.diff is a alternate approach to prevent this ever happening again in the future, it resets $post_data
on every iteration of the posts loop.
It reverts [27990] simply due to my working copy being out of date, but that commit is optional with this approach anyway.
It seems likely this could happen again in the future since so much in that loop already modified $post_data
, resetting it early just seems like a saner solution that fighting these issues..
#5
@
11 years ago
- Keywords needs-testing added
I've tested my patch, and twisting it every which way that I can think of, and I can't see anything broken afterwards.
Then again, the breaking originated in my code in the first place, so I'd appreciate others eyes on it!
Nacins patch here also appears to work, and fixes this specific problem.
#6
@
11 years ago
27792.4.diff adds unit tests for the post_author
, comment_status
, and ping_status
post fields following a bulk edit.
Confirmed.