[wp-trac] [WordPress Trac] #58226: HTML attribute "action" on element "form": Must be non-empty.
WordPress Trac
noreply at wordpress.org
Thu Jan 11 18:30:24 UTC 2024
#58226: HTML attribute "action" on element "form": Must be non-empty.
-------------------------------------------------+-------------------------
Reporter: Malae | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.5
Component: Login and Registration | Version: 5.9
Severity: normal | Resolution:
Keywords: needs-testing has-testing-info has- | Focuses: coding-
patch | standards
-------------------------------------------------+-------------------------
Changes (by joedolson):
* keywords:
dev-feedback needs-testing has-testing-info changes-requested 2nd-
opinion
=> needs-testing has-testing-info has-patch
Comment:
Given the title of this ticket, I think it's fairly clear that it intends
to cover all instances of invalid action attributes, even though the only
example documented in the description is on wp-login.php. Patch
58226.2.diff removes the four empty action attributes I found in core (in
the files noted by @rajinsharwar)
To test:
- Verify the action attribute is gone in the language selection control
at /wp-login.php, and verify the form works as expected.
- Verify the action attribute is gone and you can create a new Privacy
Policy page at Settings > Privacy
- Verify the action attribute is gone and you can change your Privacy
Policy page at Settings > Privacy
- In the classic widget editor, verify that the form wrapping "Clear
Inactive Widgets" does not have an action attribute, and that you are able
to clear inactive widgets.
All tested and verified in Chrome/Windows 11.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58226#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list