WordPress.org

Make WordPress Core

Ticket #51645: 51645.diff

File 51645.diff, 404 bytes (added by whyisjake, 4 months ago)
  • src/wp-includes/general-template.php

     
    347347                $result = $form;
    348348        }
    349349
    350         if ( $args['echo'] ) {
     350        if ( ! empty( $args['echo'] ) ? $args['echo'] : false ) {
    351351                echo $result;
    352352        } else {
    353353                return $result;