[wp-trac] Re: [WordPress Trac] #5763: register_hook and register_new_user are broken

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 19 14:21:14 GMT 2009


#5763: register_hook and register_new_user are broken
---------------------------------+------------------------------------------
 Reporter:  whooami              |        Owner:  ryan   
     Type:  defect (bug)         |       Status:  closed 
 Priority:  normal               |    Milestone:  2.9    
Component:  General              |      Version:  2.5    
 Severity:  major                |   Resolution:  invalid
 Keywords:  plugin dev-feedback  |  
---------------------------------+------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  reopened => closed
  * resolution:  => invalid


Comment:

 > Nethertheless, is it a feature or a bug the fact that you can't modify
 the $errors variable during the 'register_form' action execution ?

 It's php related. in php4, you'd need a reference to modify the $error.
 but call_user_func() et al won't let you pass one.

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


More information about the wp-trac mailing list