Problem with WP core function to get user dropdown
-
Hi there
Does anyone know why WP passes 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.My problem is that when using the members plugin to create a role, for some reason when creating a role and assigning a user, they get the user_level of 0. Then that user does then not appear in the ‘Author’ dropdown on the page quick edit function (which uses get_users).
Thanks
- The topic ‘Problem with WP core function to get user dropdown’ is closed to new replies.