Make WordPress Core


Ignore:
Timestamp:
10/28/2020 04:55:42 PM (4 years ago)
Author:
SergeyBiryukov
Message:

General: Ensure that filtered arguments in get_search_form() contain all required default values.

Props kellybleck, davidbaumwald, whyisjake, SergeyBiryukov.
Fixes #51645.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r49256 r49355  
    25002500    $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
    25012501
    2502     // Ensure that the filtered args contain all required default values.
     2502    // Ensure that the filtered arguments contain all required default values.
    25032503    $args = array_merge( $defaults, $args );
    25042504
Note: See TracChangeset for help on using the changeset viewer.