[wp-trac] [WordPress Trac] #30126: Empty form action attributes (action="") are invalid in HTML5.

WordPress Trac noreply at wordpress.org
Fri Jan 16 04:15:54 UTC 2015

#30126: Empty form action attributes (action="") are invalid in HTML5.
 Reporter:  jdgrimes      |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  General       |     Version:  4.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"31200"]:
 #!CommitTicketReference repository="" revision="31200"
 In HTML5, the `action` attribute is no longer required. Remove this
 attribute when empty.

 The admin HTML is served with the HTML5 doctype.

 "The action and formaction content attributes, if specified, must have a
 value that is a valid non-empty URL potentially surrounded by spaces."

 Props voldemortensen.
 Fixes #30126.

Ticket URL: <https://core.trac.wordpress.org/ticket/30126#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list