[wp-trac] [WordPress Trac] #12022: wp-activate.php - Plugin + Activation bug

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 16 16:21:07 UTC 2010


#12022: wp-activate.php - Plugin + Activation bug
----------------------------+-----------------------------------------------
 Reporter:  wpmuguru        |        Owner:                 
     Type:  defect (bug)    |       Status:  reopened       
 Priority:  normal          |    Milestone:  Awaiting Triage
Component:  Multisite       |      Version:                 
 Severity:  normal          |   Resolution:                 
 Keywords:  needs-feedback  |  
----------------------------+-----------------------------------------------

Comment(by c4mden):

 I've run across this bug as well, particularly when trying to hook into
 wpmu_activate_user.  We collect extra fields from users when they sign up.
 This data goes into the meta field of the wp_signups table, and I move it
 over to the wp_usermeta table when a user activates their account.

 I have to comment out the WP_INSTALLING line at the top of the wp-
 activate.php file.  We don't let users create blogs, so I imagine we're
 safe.  That line turns off all plugins altogether, and no filters will
 run.  It seems to me that the wpmu_activate_user hook is completely
 worthless (as are any others on that page) unless that top line is
 commented out.

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


More information about the wp-trac mailing list