wp-includes/general-template.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php
index 89ebaeb..38579ed 100644
a
|
b
|
function get_template_part( $slug, $name = null ) { |
150 | 150 | * @param string $format Which type to use for the search field. If set to 'html5' it changes to search input type and adds placeholder text. |
151 | 151 | * @return string|null String when retrieving, null when displaying or if searchform.php exists. |
152 | 152 | */ |
153 | | function get_search_form( $echo = true, $format = 'xhtml' ) { |
| 153 | function get_search_form( $echo = true ) { |
154 | 154 | do_action( 'get_search_form' ); |
| 155 | |
| 156 | $format = apply_filters( 'search_form_format', 'xhtml' ); |
155 | 157 | |
156 | 158 | $search_form_template = locate_template( 'searchform.php' ); |
157 | 159 | if ( '' != $search_form_template ) { |