WordPress.org

Make WordPress Core

Ticket #43488: Added_do_action_ref_array_to_hook_functions_in_trace_capture_.patch

File Added_do_action_ref_array_to_hook_functions_in_trace_capture_.patch, 898 bytes (added by Rarst, 18 months ago)
  • wp-includes/functions.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    51435143
    51445144                        $caller[] = "{$call['class']}{$call['type']}{$call['function']}";
    51455145                } else {
    5146                         if ( in_array( $call['function'], array( 'do_action', 'apply_filters' ) ) ) {
     5146                        if ( in_array( $call['function'], array( 'do_action', 'apply_filters', 'do_action_ref_array' ) ) ) {
    51475147                                $caller[] = "{$call['function']}('{$call['args'][0]}')";
    51485148                        } elseif ( in_array( $call['function'], array( 'include', 'include_once', 'require', 'require_once' ) ) ) {
    51495149                                $caller[] = $call['function'] . "('" . str_replace( array( WP_CONTENT_DIR, ABSPATH ) , '', $call['args'][0] ) . "')";