IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
|
| 5134 | 5134 | $check_class = ! is_null( $ignore_class ); |
| 5135 | 5135 | $skip_frames++; // skip this function |
| 5136 | 5136 | |
| | 5137 | static $truncate_paths; |
| | 5138 | |
| | 5139 | if ( ! isset( $truncate_paths ) ) { |
| | 5140 | $truncate_paths = array( |
| | 5141 | wp_normalize_path( WP_CONTENT_DIR ), |
| | 5142 | wp_normalize_path( ABSPATH ) |
| | 5143 | ); |
| | 5144 | } |
| | 5145 | |
| 5137 | 5146 | foreach ( $trace as $call ) { |
| 5138 | 5147 | if ( $skip_frames > 0 ) { |
| 5139 | 5148 | $skip_frames--; |
| … |
… |
|
| 5146 | 5155 | if ( in_array( $call['function'], array( 'do_action', 'apply_filters' ) ) ) { |
| 5147 | 5156 | $caller[] = "{$call['function']}('{$call['args'][0]}')"; |
| 5148 | 5157 | } elseif ( in_array( $call['function'], array( 'include', 'include_once', 'require', 'require_once' ) ) ) { |
| 5149 | | $caller[] = $call['function'] . "('" . str_replace( array( WP_CONTENT_DIR, ABSPATH ) , '', $call['args'][0] ) . "')"; |
| | 5158 | $caller[] = $call['function'] . "('" . str_replace( $truncate_paths, '', wp_normalize_path( $call['args'][0] ) ) . "')"; |
| 5150 | 5159 | } else { |
| 5151 | 5160 | $caller[] = $call['function']; |
| 5152 | 5161 | } |