[buddypress-trac] [BuddyPress] #3935: Members directory does not generate correct HTML (form inside form)

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jan 17 17:26:10 UTC 2012


#3935: Members directory does not generate correct HTML (form inside form)
--------------------------+-----------------------------
 Reporter:  rogercoathup  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.5.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The search form nested inside the form for the members directory is not
 valid XHTML / HTML5 (forms can't be nested in forms).

 As a result browsers terminate the members directory form after the search
 form, and not at the bottom of the members directory (as intended).

 -----

 To fix: the search form (generated by bp_directory_members_search_form()
 function) should be moved outside of the form#members-directory-form

 Note though: this introduces additional problems that should be fixed -
 i.e. the search of members works, but the search is also picked up by WP
 and an additional archive search performed.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3935>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list