WordPress.org

Make WordPress Core

Ticket #17063: ticket.17063.diff

File ticket.17063.diff, 474 bytes (added by ptahdunbar, 3 years ago)
  • wp-includes/general-template.php

     
    149149 * @param boolean $echo Default to echo and not return the form. 
    150150 */ 
    151151function get_search_form($echo = true) { 
     152        $GLOBALS['echo'] = $echo; 
     153 
    152154        do_action( 'get_search_form' ); 
    153155 
    154156        $search_form_template = locate_template('searchform.php');