[wp-trac] [WordPress Trac] #11726: wp-admin/users.php crashes on sites with large number of subscribers
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 5 15:44:28 UTC 2010
#11726: wp-admin/users.php crashes on sites with large number of subscribers
--------------------------+-------------------------------------------------
Reporter: prettyboymp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.9.1
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Even though the results are being paged in display, the wp-admin/users.php
calls get_users_of_blog() which returns all users. On a site setup with
the default PHP memory limit of 32M and 86000+ users, the page crashes,
disabling the ability to manage users.
I think the get_users_of_blog function should add an arguments parameter
so places that use it, such as wp-admin/users.php, can apply paging and
other search criteria as needed to limit the resource usage.
ie:
{{{
function get_users_of_blog($id = '', $args, &$tot_users) {}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11726>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list