[wp-trac] [WordPress Trac] #10672: register_post hook not compatible with PHP 4.x

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 23 10:21:46 UTC 2009


#10672: register_post hook not compatible with PHP 4.x
--------------------------+-------------------------------------------------
 Reporter:  ppaquet       |       Owner:  westi                                 
     Type:  defect (bug)  |      Status:  new                                   
 Priority:  normal        |   Milestone:                                        
Component:  Plugins       |     Version:                                        
 Severity:  normal        |    Keywords:  register_post, hook, reporter-feedback
--------------------------+-------------------------------------------------
Changes (by westi):

  * keywords:  register_post, hook => register_post, hook, reporter-
               feedback
  * priority:  high => normal
  * severity:  blocker => normal


Comment:

 The plugin should be providing the updated error information using the
 registration_errors errors filter.

 The action does not provide the $errors object explicitly as a reference -
 if it was it would use do_action_ref_array

 The registration_errors filter is there so that a plugin can filter the
 $errors and return alternative

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


More information about the wp-trac mailing list