[wp-trac] [WordPress Trac] #41247: First form tag is removed from user table cell
WordPress Trac
noreply at wordpress.org
Thu Jul 6 23:12:30 UTC 2017
#41247: First form tag is removed from user table cell
--------------------------+-----------------------------
Reporter: prudentbot | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Users | Version: trunk
Severity: normal | Resolution: invalid
Keywords: | Focuses: administration
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi @prudentbot, welcome to WordPress Trac! Thanks for the report.
The whole table is already inside a form. Nested forms is invalid HTML, so
the browser ignores the first nested form and treats the `</form>` tag as
a closing tag for the main form. The subsequent forms are then displayed
as expected.
These posts might be helpful in finding a solution:
https://stackoverflow.com/questions/379610/can-you-nest-html-forms
https://stackoverflow.com/questions/597596/how-do-you-overcome-the-html-
form-nesting-limitation
Since it's not a WordPress core issue, I'm going to close the ticket. If
you need any help implementing a workaround, please try the support
forums: https://wordpress.org/support/.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41247#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list