post_author_meta_box causes fatal error on site with large userbase.
|Reported by:||tomdebruin||Owned by:||scribu|
|Milestone:||3.1||Priority:||highest omg bbq|
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.
Change History (47)
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
comment:43 @duck_ — 5 years ago
- Priority changed from normal to highest omg bbq
- Resolution fixed deleted
- Severity changed from normal to blocker
- Status changed from closed to reopened