Opened 15 years ago
Closed 14 years ago
#14094 closed defect (bug) (wontfix)
get_editable_user_ids() does not function properly with multisite.
Reported by: | prettyboymp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Multisite | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
The exclude_zeros parameter in the get_editable_user_ids() should cause the returned ids to exclude subscribers. However the check compares against '0', which causes all users to be returned in multisite.
This isn't the same as #12014, as that has more to do with finding a better way to select from a large list of authors. This is a bug in the list of possible authors being when using multisite.
Attachments (1)
Change History (9)
#4
@
14 years ago
- Component changed from General to Multisite
- Milestone changed from Awaiting Review to 3.1
#5
@
14 years ago
- Milestone 3.1 deleted
- Resolution set to worksforme
- Status changed from new to closed
This function is now deprecated in favor of get_users(), which should work fine in multisite.
#6
@
14 years ago
- Cc pkirk added
- Resolution worksforme deleted
- Status changed from closed to reopened
Then get_users() should be used in wp-admin/edit-form-advanced.php instead of get_editable_user_ids().
I explain my problem:
I created a Network from a Single installation with 8K users (almost all Subscribers). But now, after the conversion to Network, in Admin->Edit Post, in the <SELECT> where I can choose the Author, I have 8K usernames.
While, before the conversion to Network, I only had the Admins and the Editors users listed there.
Thanks,
--
P.
related to #14419