[wp-trac] [WordPress Trac] #40816: Events widget form can be submitted when empty or contains just spaces

WordPress Trac noreply at wordpress.org
Fri May 19 06:56:35 UTC 2017


#40816: Events widget form can be submitted when empty or contains just spaces
--------------------------+-------------------
 Reporter:  afercia       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.8
Component:  Widgets       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  ui            |
--------------------------+-------------------
 In order to improve the user experience and reduce the requests sent to
 the API, it would be great to consider introducing a simple check to avoid
 the events widget form can be submitted when the form field is empty.

 To reproduce what happens now:
 - open the form to change location
 - make sure the form field is empty and submit: the form gets submitted
 (it uses the last location?)
 - repeat inserting just spaces in the form field and submit: the form gets
 submitted

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40816>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list