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

WordPress Trac noreply at wordpress.org
Thu Nov 9 20:32:56 UTC 2023


#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:  dev-feedback needs-testing has-      |     Focuses:  coding-
  testing-info changes-requested 2nd-opinion     |  standards
-------------------------------------------------+-------------------------
Changes (by rajinsharwar):

 * keywords:
     dev-feedback has-patch needs-testing has-testing-info changes-
     requested
     =>
     dev-feedback needs-testing has-testing-info changes-requested 2nd-
     opinion


Comment:

 IMO, I guess we should just remove the action attribute as it will end up
 using the current page's URL anyway. If that is done, we might need to
 update the same thing in other instances as well, where the action is set
 to an empty value.

 1. wp-login.php
 2. options-privacy.php
 3. widgets-form.php

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


More information about the wp-trac mailing list