[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 16:40:46 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:  Awaiting Review
Component:  Administration  |     Version:  3.0.1          
 Severity:  normal          |    Keywords:                 
----------------------------+-----------------------------------------------
 My site with 16000+ registered users and memory_limit at 96M. When
 creating a new post or editing an existing post there is a fatal error
 (Allowed memory size of 100663296 bytes exhausted)  when trying to
 generate the massive list of possible authors in the 'Author' box
 (post_author_meta_box).

 Bizarrely the list is generated fully when viewing as an Administrator -
 but Author, Editor, etc have problems.

 Would it be better to only list the users with contributor and above
 privileges to that blog rather than everyone on the site?

 My current solution is to disable the post_author_meta_box in wp-admin
 /edit-form-advanced.php... as I can still change post author, should I
 need to, through Quick Edit.

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


More information about the wp-trac mailing list