[wp-trac] [WordPress Trac] #61552: post_author_meta_box() function defaults to original author when the editor is different

WordPress Trac noreply at wordpress.org
Wed Jul 3 14:34:57 UTC 2024


#61552: post_author_meta_box() function defaults to original author when the editor
is different
-------------------------------+------------------------------
 Reporter:  gobborg            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.5.5
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:  administration
-------------------------------+------------------------------
Changes (by knutsp):

 * keywords:  reporter-feedback => close


Comment:

 Replying to [comment:2 gobborg]:
 > I log in as user=archox and go to edit a page created by user=gobborg.
 The post_author_meta_box defaults to user=gobborg when I would expect it
 to be user=archox.

 The Sample Page is autmatically generated pån installation. The author is
 set to the first user created. What hou see is not a "default", it is the
 saved author of the page. This is the expected behaviour.

 > If original author is not meant to be the last user editing it, then why
 is the post_author_meta_box part of the UI?

 Hm. It's the other way around. The last editing user is not automatically
 set as the author. The user creating the post is the author by default,
 but can be changed.

 > It sounds like this is expected behavior, but if so, then maybe Editors
 shouldn't be able to change the Author.

 Editors may change the author of any post/page, as any other information
 regarding content. An editor may publish content on behalf of others. The
 author display name may be used on the front as a byline.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61552#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list