[wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor

WordPress Trac noreply at wordpress.org
Fri Apr 22 18:29:05 UTC 2016


#36638: Detect broken URLs in the editor
-------------------------+-----------------------------
 Reporter:  iseulde      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Chatted a bit with @azaozz. We could detect broken URLs in the editor when
 the user adds one by sending a request to the server and then doing a HEAD
 request and check the response code. If it's 4xx, we could mark the bad
 link in the editor and if the user clicks on it show the toolbar with a
 message. This is to prevent accidental user mistakes (wrong copy/paste,
 entering query by accident...)

 Another thing we could do is warn for mixed content.

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


More information about the wp-trac mailing list