[wp-trac] [WordPress Trac] #43003: HTML5 "required" attribute in Widget form() fails in ajax-actions.php during save

WordPress Trac noreply at wordpress.org
Mon Jan 15 19:22:58 UTC 2018


#43003: HTML5 "required" attribute in Widget form() fails in ajax-actions.php
during save
-------------------------------------------------+-------------------------
 Reporter:  Andy Schmidt                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.9.2
Component:  Widgets                              |     Version:  4.9
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback has-patch needs-   |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  reporter-feedback => reporter-feedback has-patch needs-testing


Comment:

 @Andy-Schmidt please test [attachment:43003.0.diff]. The problem is that
 when adding a new widget, the `checkValidity` call was being made. So this
 patch disables the check when adding a widget.

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


More information about the wp-trac mailing list