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

WordPress Trac noreply at wordpress.org
Sun Apr 30 09:02:11 UTC 2023


#58226: HTML attribute "action" on element "form": Must be non-empty.
------------------------------------+-------------------------------
 Reporter:  Malae                   |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback            |     Focuses:  coding-standards
------------------------------------+-------------------------------

Comment (by audrasjb):

 Hello and thank you for opening this ticket,

 I'd suggest to use something like
 `action="<?php echo esc_url( site_url( 'wp-login.php' ) ); ?>"`

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


More information about the wp-trac mailing list