[wp-trac] [WordPress Trac] #21910: wpmu_create_user() standardization

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 17 23:36:27 UTC 2012


#21910: wpmu_create_user() standardization
-------------------------+------------------------------
 Reporter:  ryanduff     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Multisite    |     Version:  3.0
 Severity:  minor        |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------

Comment (by ryanduff):

 Thanks Sergey for fixing the version. I always forget that. Wish we could
 get it changed to "Earliest Version"

 As far as depreciating... that's fine. Perhaps roll all of
 wpmu_create_user() into wp_insert_user() since that's what does most of
 the heavy lifting? The only real difference is that the former deletes
 roles/caps until they're assigned to a site. Maybe we can just check if
 it's a network install and if so do that within wp_insert_user()?

 Any other suggestions?

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


More information about the wp-trac mailing list