[wp-trac] [WordPress Trac] #42419: Text widget accepts invalid media URL

WordPress Trac noreply at wordpress.org
Sun Nov 12 12:12:29 UTC 2017

#42419: Text widget accepts invalid media URL
 Reporter:  nirmalcm      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.8.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
Changes (by mbelchev):

 * keywords:   => needs-patch


 Seems like the error handling is not working properly. When you type an
 invalid URL the browser console is throwing an error but the user is not
 notified for it.

 Also, the user is allowed to click "Insert into post" even there is a
 console error and the URL is invalid.

 Attaching photo below.

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

More information about the wp-trac mailing list