[wp-trac] [WordPress Trac] #58226: HTML attribute "action" on element "form": Must be non-empty.

WordPress Trac noreply at wordpress.org
Tue Jan 16 17:30:15 UTC 2024


#58226: HTML attribute "action" on element "form": Must be non-empty.
-------------------------------------------------+-------------------------
 Reporter:  Malae                                |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.5
Component:  Administration                       |     Version:  5.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-testing has-testing-info has-  |     Focuses:  coding-
  patch commit                                   |  standards
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57295" 57295]:
 {{{
 #!CommitTicketReference repository="" revision="57295"
 Administration: Remove empty form `action` attributes.

 Remove the `action` attribute in the login language selector, privacy
 forms, and classic widget forms.

 An empty `action` attribute is invalid HTML4 and unsupported HTML5. The
 `action` attribute is optional, but must have a valid URL when provided.

 Props Malae, audrasjb, bartkleinreesink, nicolefurlan, shubhamsedani,
 costdev, peterwilsoncc, rajinsharwar, joedolson.
 Fixes #58226.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58226#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list