[wp-trac] [WordPress Trac] #61798: Not possible to assign author to unowned post in the primary edit form
WordPress Trac
noreply at wordpress.org
Thu Aug 1 11:03:48 UTC 2024
#61798: Not possible to assign author to unowned post in the primary edit form
--------------------------+-----------------------------------------------
Reporter: mossy2100 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.6.1
Severity: minor | Resolution:
Keywords: has-patch | Focuses: administration, coding-standards
--------------------------+-----------------------------------------------
Changes (by iflairwebtechnologies):
* focuses: administration => administration, coding-standards
* version: 6.6 => 6.6.1
Comment:
@mossy2100
Fixed: #61798 Not possible to assign author to unowned post in the primary
edit form
We have checked the following issue
- When the post is untrash (restored from trash), it does not check
whether the authors still exist or not... So in that case, we can check
first "if author user no exists, then assign the current user as the
author of that post"
By doing this, It will assign the current user as an author to that
restored post - only if the author is not present.
Ticket link : https://core.trac.wordpress.org/ticket/61798
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61798#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list