[wp-trac] [WordPress Trac] #25178: multisite network admin to delete user attempts to load millions of users into memory

WordPress Trac noreply at wordpress.org
Thu Nov 21 06:02:03 UTC 2013


#25178: multisite network admin to delete user attempts to load millions of users
into memory
--------------------------+------------------
 Reporter:  _ck_          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.8
Component:  Multisite     |     Version:  3.1
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by jeremyfelt):

 [attachment:users.php.patch] still applies to trunk and would be somewhat
 of a stopgap until we can come up with something.

 The unfortunate part here is that this user query is done only to fill in
 a select menu for where to attribute a user's posts when they are deleted
 from a site. If a user is a member of multiple sites, a similar query may
 be done several times and multiple cumbersome select lists will be shown.

 Beyond the query itself being huge, the result would be ridiculous to deal
 with if you really did want to select a new user for attribution.

 I wonder if there's a way (especially with `wp_is_large_network( 'users'
 )`, to either hide this attribution option completely or to provide a
 different interface that made use of incremental search or something.

 Suggest patching with [attachment:users.php.patch] in 3.8 and then pushing
 a larger decision around workflow to 3.9 or later.

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


More information about the wp-trac mailing list