[wp-trac] Re: [WordPress Trac] #2902: WP_Die function for display errors

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 8 23:28:42 GMT 2006


#2902: WP_Die function for display errors
--------------------------------------------------------------------+-------
 Reporter:  Sewar                                                   |        Owner:  Sewar   
     Type:  defect                                                  |       Status:  reopened
 Priority:  normal                                                  |    Milestone:  2.0.4   
Component:  Administration                                          |      Version:  2.0.3   
 Severity:  normal                                                  |   Resolution:          
 Keywords:  i18n error UTF-8 charset bg|has-patch bg|needs-testing  |  
--------------------------------------------------------------------+-------
Changes (by Sewar):

  * resolution:  fixed =>
  * status:  closed => reopened

Comment:

 In the last patch remove "$wpdb->show_errors" because it's for DB only.
 Put HTML code directly outside PHP code, this allow us using functions and
 "defines" and any PHP code, unfortunately, it means remove "wp_die"
 filter.

 Are you have any solutions?

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


More information about the wp-trac mailing list