"Admin" not a "Post Author" option

Description

Reported by Owen Gray on wp-testers

Admin not is shown as an option in the "Post Author" dropdown box on the
Write Post page. That dropdown box does not appear when admin is the
only user. After an new user is added, only that user's nickname appears
in the dropdown box.

I notice that the added user has a "wp_user_level" entry in the
wp_usermeta table, but admin does not. If I add such an entry for admin,
admin appears as a choice in the dropdown list.

Change History (5)

wp_user_level is not set for new users all the time. We need to make sure that this always gets created.

we need to switch this dropdown box to use caps anyway.

Ryan, Owen,

#2 is going to get messy. Without a clean way of getting all users with edit_posts, we're going to use a lot of memory on systems with more than a few users. I suggest that #2 wait until we make the DB schema for roles/caps a little more sane. How are you feeling about #2787? I'll code it.

A workaround is to create a second Administrator account, then use that account to change 'admin' to an Editor, save the changes, then back to Administrator, and save the changes again. That should create the "wp_user_level" entry for admin, and cause it to appear in the dropdown list.