#4238 closed defect (bug) (fixed)
did_action called in wp_die sometimes before it's defined
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.2 | Priority: | normal |
| Severity: | normal | Version: | 2.2 |
| Component: | Administration | Keywords: | did_action has-patch |
| Focuses: | Cc: |
Description
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
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [5417]) Include plugin.php before calling wp_die. fixes #4238 for 2.2.