Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#62856 new defect (bug)

Changing the author of a post in the author selector is impossible

Reported by: dhenriet's profile dhenriet Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:

Description

Changing an author (when there are more than 8) is only possible in quick edit mode.
When you go to a typical post, the selector displays only 8 authors, whereas there are many more, so it's impossible to change the post's author.

https://github.com/user-attachments/assets/4433f529-9fb6-475a-915d-61838b4da2f5
https://github.com/user-attachments/assets/207f8080-3677-401f-ad22-bc6a4089e373

Attachments (2)

Screenshot_1.png (48.4 KB) - added by dhenriet 4 months ago.
Screenshot_2.png (34.8 KB) - added by dhenriet 4 months ago.

Download all attachments as: .zip

Change History (5)

#1 @abcd95
4 months ago

Hey @dhenriet, Thanks for raising this.

I was unable to reproduce the issue you're mentioning. I was able to see the list of all the authors when editing -

https://i.postimg.cc/m2bhRZFY/image.png

Environment info -

  • WordPress: 6.7.1
  • PHP: 8.1.29
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
  • Browser: Chrome 132.0.0.0
  • OS: macOS
  • Theme: Twenty Seventeen 3.8

I suspect there might be a plugin conflict causing this issue, but perhaps if you could provide some more info on the environment you're running on, we might be able to diagnose the problem.

#2 @sainathpoojary
4 months ago

I confirm that I was also unable to reproduce the issue.

Environment

  • WordPress: 6.7.1
  • PHP: 8.1.29
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
  • Browser: Chrome 132.0.0.0
  • OS: macOS
  • Theme: Twenty Twenty-Five 1.0
  • MU Plugins: None activated
  • Plugins: None

#3 @dhenriet
4 months ago

Hello, thank you for your feedback.

You're right, I think it's not a bug but just a role rights problem.
I have therefore carried out other tests:

  • disable all plugins
  • change the theme to twentytwentyfive

The result is the same and I've only got 7 users listed, but I've just realized that they're all those who have an administrator role.
This is a site I've recovered, I didn't do the development, I need to understand the logic and code.
On the front end, there's a form, which, when submitted, creates an entry in a “recruiter” post type and a user with a recruiter role. The author of the entry in the post type created must be the user created when the form was submitted.
This works with the form, but manually, as I explained, selecting the “quick edit” list displays all users, whereas normal editing only displays users with an administrator role. (I'm logged in as administrator).

It doesn't matter as long as editing from “quick edit” is possible, I'm not going to spend any more time on this, I think it's a role rights problem.

Thanks again and sorry for the time you've wasted.

Environment info

  • WordPress: 6.7.1
  • PHP 8.3.10
  • Apache 2.4.62
  • SQL 5.7.33
  • Chrome 131.0.6778
  • OS : windows 10
  • Theme: Custom and/or Twenty Twenty-Five 1.0
  • MU Plugins: None activated
  • Plugins: None
Note: See TracTickets for help on using tickets.