[wp-trac] [WordPress Trac] #56503: PHP error on get_searh_form()

WordPress Trac noreply at wordpress.org
Fri Sep 2 16:43:13 UTC 2022


#56503: PHP error on get_searh_form()
--------------------------+-----------------------------
 Reporter:  seansmyth     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When using a seach form like below,

    echo get_search_form();
 or
  get_search_form();


 a php error occurs.

 Warning: Undefined array key "echo" in /Users/sean/Local
 Sites/normanmccluskey/app/public/wp-includes/general-template.php on line
 363

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56503>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list