[wp-trac] [WordPress Trac] #30175: In multisite, on a site with only subscribers, wp_dropdown_users returns empty string
WordPress Trac
noreply at wordpress.org
Wed Oct 29 16:57:08 UTC 2014
#30175: In multisite, on a site with only subscribers, wp_dropdown_users returns
empty string
-----------------------------+-----------------------------
Reporter: johnjamesjacoby | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
-----------------------------+-----------------------------
This becomes a problem when editing posts on sites with no capable users.
Technically, an empty string is the expected result, as the site has no
users with adequate capabilities to assign as the author of a post. (I'll
propose 1 solution in a comment below.)
To duplicate:
* Setup multisite
* Create a second site
* Add a user to it as a Subscriber
* Remove yourself from that site, if necessary
* Edit the "Hello World" post
* Notice the "Author" metabox is empty
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30175>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list