WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 3 months ago

#31210 new enhancement

Problem with WP core function to get user dropdown

Reported by: andyx2v Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.1
Component: Role/Capability Keywords:
Focuses: administration Cc:

Description

Why does WP pass the argument 'who' => 'authors' on line 1014 of core file /wp-admin/includes/class-wp-posts-list-table.php. Which then causes WP to check the $dbprefix_user_level meta key in the database for that user, which is as far as I know, is a deprecated method of checking that.

This then stops WP from showing authors with enough caps (but level_0 for some reason) in the 'Author' dropdown on the page quick edit function.

Change History (1)

#1 @valentinbora
3 months ago

  • Component changed from Administration to Role/Capability

Related #15871 #16841 #28230

Note: See TracTickets for help on using tickets.