[wp-trac] [WordPress Trac] #48030: HTML5 input types are not being reset when submitting the addtag form

WordPress Trac noreply at wordpress.org
Tue Mar 22 00:08:08 UTC 2022


#48030: HTML5 input types are not being reset when submitting the addtag form
-------------------------------------+-------------------------------------
 Reporter:  stevegrunwell            |       Owner:  davidbaumwald
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.0
Component:  Taxonomy                 |     Version:
 Severity:  minor                    |  Resolution:
 Keywords:  needs-testing needs-     |     Focuses:  ui, javascript,
  patch                              |  administration
-------------------------------------+-------------------------------------

Comment (by davidbaumwald):

 Per discussion with @peterwilsoncc, including the parent in the selector
 would force plugins/themes to follow the same pattern to take advantage of
 the form reset on submission.  As there's currently many plugins making
 use of this feature, the safe thing to do here is to omit the parent
 selector.

 However, the buttons do need to be accounted for.  Updated patch incoming.
 Would appreciate some additional testing to make sure we've covered the
 default fields while also allowing for extenders to use the feature with
 their added fields/buttons.

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


More information about the wp-trac mailing list