[wp-trac] [WordPress Trac] #11241: Fix for undefined offset warning in do_action

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 15:31:33 UTC 2009


#11241: Fix for undefined offset warning in do_action
--------------------------+-------------------------------------------------
 Reporter:  chrisbliss18  |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:           
Component:  General       |     Version:  2.9      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 An unchecked index in the do_action function found in wp-
 includes/plugin.php can cause a huge flood of warnings depending on data
 feed to it.

 I simply added an isset check to ensure that the use of the index doesn't
 occur unless something is at that array location.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11241>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list