[wp-trac] [WordPress Trac] #14572: post_author_meta_box causes fatal error on site with large userbase.

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 9 18:54:54 UTC 2010


#14572: post_author_meta_box causes fatal error on site with large userbase.
----------------------------+-----------------------------------------------
 Reporter:  tomdebruin      |       Owner:                  
     Type:  defect (bug)    |      Status:  new             
 Priority:  normal          |   Milestone:  3.1             
Component:  Administration  |     Version:  3.0.1           
 Severity:  normal          |    Keywords:  needs-patch gsoc
----------------------------+-----------------------------------------------
Changes (by scribu):

  * keywords:  needs-patch => needs-patch gsoc


Comment:

 Replying to [comment:2 ryan]:
 > We need a proper get_users() function that can list users for a given
 blog (current blog by default) and return just IDs or entire user objects.
 get_users_of_blog() could call this and get_editable_user_ids() could be
 deprecated.  WP_User_Search could use get_users() too.  All places that
 query on user_level need to be removed.  There's no need to treat
 multisite and single site differently when look for the users on a given
 blog.  $prefix_capabilities should always be used.

 Great; I have that baked into my GSoC project (Ajaxify Admin). I'll be
 opening a ticket with the patch soon.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14572#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list