[wp-trac] [WordPress Trac] #41247: First form tag is removed from user table cell
WordPress Trac
noreply at wordpress.org
Wed Jul 5 19:35:33 UTC 2017
#41247: First form tag is removed from user table cell
--------------------------+-----------------------------
Reporter: prudentbot | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I am trying to include forms in the Users table in the admin interface.
However, it appears that the very first form of the first row is always
escaped, and the inputs are then orphaned. The rest of the forms,
however, are all perfectly fine.
[[Image(http://i.imgur.com/elMOhL6.png)]]
In this example, each User's buttons are in their own forms (there are
four forms total). The very first "approve" button is the one that's
lacking its form tags. The rest of them are all fine. This is consistent
no matter what button is first. If, for example, I have "reject" before
"approve", then it will be the reject button that is missing its form
tags. If I only have one form per User, same result.
[[Image(http://i.imgur.com/eJm6Nyx.png)]]
I tested in both Chrome and Firefox. I also tried this without any other
plugins active- same result.
Here's a gist with a condensed version of the plugin in question.
https://gist.github.com/prudentbot/27d20e63f5b28c67cc0fc8845dc2c72e
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41247>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list