Malformed HTML in solr_search_form
-
Hello,
there seems to be a bug in the search-form in all versions since version 13.9 (including). In the file wpsolr-core/wpsolr_include.inc.php in the function solr_search_form (line 278ff) the returned form-HTML opens three divs (on lines 314, 322 and and 328 respectively) but only closes two divs (both on line 328).
Prior to version 13.9 all three divs were closed, but in the wrong order: the first div was opened before the form was opened but all three divs were closed before the form was closed.
To fix the bug change line 328 from
. ‘<div style=”clear:both”></div></div></form>’;
to
. ‘<div style=”clear:both”></div></div></form></div>’;
- The topic ‘Malformed HTML in solr_search_form’ is closed to new replies.