[wp-trac] [WordPress Trac] #6755: backtrace improvement for wpdb

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 17 07:34:44 GMT 2008


#6755: backtrace improvement for wpdb
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous
     Type:  defect             |      Status:  new      
 Priority:  normal             |   Milestone:  2.6      
Component:  Optimization       |     Version:  2.5      
 Severity:  normal             |    Keywords:           
-------------------------------+--------------------------------------------
 currently, the get_caller() method in wpdb delivers $caller =
 $trace['function'];

 could we change this to something that includes the class as well?

 e.g. (not sure this works):


 {{{
 $caller = $trace['class'] ? ( $trace['class'] . '::' . $trace['function']
 ) : $trace['function'];
 }}}

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


More information about the wp-trac mailing list