[wp-trac] Re: [WordPress Trac] #6185: Make dead_db()'s terse message more useful

WordPress Trac wp-trac at lists.automattic.com
Tue May 6 10:35:00 GMT 2008


#6185: Make dead_db()'s terse message more useful
--------------------------------------+-------------------------------------
 Reporter:  pishmishy                 |        Owner:  pishmishy
     Type:  defect                    |       Status:  assigned 
 Priority:  normal                    |    Milestone:  2.6      
Component:  General                   |      Version:  2.5      
 Severity:  normal                    |   Resolution:           
 Keywords:  database error has-patch  |  
--------------------------------------+-------------------------------------
Comment (by pishmishy):

 I'm not sure we can/should theme wp_die(), we want this function to depend
 on as little as possible. I've added a new proposed patch that at least
 tidies up the code and returns the terse message through wp_die() rather
 than by including HTML all over again.

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


More information about the wp-trac mailing list