Make WordPress Core

Ticket #55175: #55175.patch

File #55175.patch, 466 bytes (added by kajalgohel, 3 years ago)
  • src/wp-includes/blocks/legacy-widget.php

     
    5959                'widget_name' => $widget_object->name,
    6060        );
    6161
     62        $args = apply_filters( 'the_widget_args', $args, $instance, $widget );
     63
    6264        ob_start();
    6365        the_widget( $widget_key, $instance, $args );
    6466        return ob_get_clean();