#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)
Note: See
TracTickets for help on using
tickets.
Something similar has been implemented, a full backtrace is saved now.