WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#6755 closed defect (bug) (invalid)

backtrace improvement for wpdb

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Optimization Keywords:
Focuses: Cc:

Description

currently, the get_caller() method in wpdb delivers $caller = $tracefunction?;

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'];

Change History (1)

comment:1 @DD326 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Something similar has been implemented, a full backtrace is saved now.

Note: See TracTickets for help on using tickets.