[wp-trac] [WordPress Trac] #4238: did_action called in wp_die sometimes before it's defined

WordPress Trac wp-trac at lists.automattic.com
Wed May 9 15:31:22 GMT 2007


#4238: did_action called in wp_die sometimes before it's defined
----------------------------+-----------------------------------------------
 Reporter:  filosofo        |       Owner:  anonymous 
     Type:  defect          |      Status:  new       
 Priority:  normal          |   Milestone:  2.2       
Component:  Administration  |     Version:  2.2       
 Severity:  normal          |    Keywords:  did_action
----------------------------+-----------------------------------------------
 To reproduce: load the WP home page when wp-config.php doesn't exist.
 did_action gets called by wp_die, which is defined before wp-
 includes/plugin.php is included.

 My patch (off trunk--but it should be basically the same for 2.2) moves
 did_action's definition to wp-includes/functions.php

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


More information about the wp-trac mailing list