Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#14094 closed defect (bug) (wontfix)

get_editable_user_ids() does not function properly with multisite.

Reported by: prettyboymp's profile prettyboymp Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Multisite Keywords: has-patch needs-testing
Focuses: Cc:


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)

14094.patch (1.2 KB) - added by prettyboymp 14 years ago.

Download all attachments as: .zip

Change History (9)

14 years ago

#1 @prettyboymp
14 years ago

  • Cc mpretty@… added

#2 @prettyboymp
14 years ago

  • Keywords has-patch needs-testing added

#3 @garyc40
14 years ago

related to #14419

#4 @nacin
14 years ago

  • Component changed from General to Multisite
  • Milestone changed from Awaiting Review to 3.1

#5 @nacin
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 @pkirk
13 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.


#7 @nacin
13 years ago

Have you looked at 3.1 yet? This ticket was closed because get_users() is now used.

#8 @ocean90
13 years ago

  • Resolution set to wontfix
  • Status changed from reopened to closed

get_editable_user_ids() isn't used in edit-form-advanced.php.

Note: See TracTickets for help on using tickets.