[wp-trac] Re: [WordPress Trac] #4997: Install wp_die() undefined

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 18 13:45:50 GMT 2007


#4997: Install wp_die() undefined
-------------------------------------+--------------------------------------
 Reporter:  maximeh                  |        Owner:  anonymous
     Type:  defect                   |       Status:  new      
 Priority:  normal                   |    Milestone:  2.3      
Component:  Administration           |      Version:  2.2.3    
 Severity:  normal                   |   Resolution:           
 Keywords:  wp_die missing function  |  
-------------------------------------+--------------------------------------
Comment (by DD32):

 > 4997.2.diff

 Included compat.php in case a setup function needs it (require removed
 from functions.php back in [6108])

 make setup-config.php include the functions.php file for wp_die() required
 by wp-db.php

 changed the setup-config.php die()'s to use wp_die() instead(Looks a bit
 more pretty than a plain text output)

 Added a function wrapper around the header HTML for install steps 0 and 1,
 Step 2 only displays the header if no errors occur (ie. after wp-db.php
 would've called wp_die() for an error).

 What do people think?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4997#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list