[wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor
WordPress Trac
noreply at wordpress.org
Mon Jun 6 22:20:22 UTC 2016
#36638: Detect broken URLs in the editor
------------------------------------------+-----------------------
Reporter: iseulde | Owner: azaozz
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.6
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch | Focuses:
------------------------------------------+-----------------------
Comment (by Presskopp):
Replying to [comment:5 rachelbaker]:
> Flagging a url as "bad" when a HEAD request returns a `4xx` response
would also flag sites that require authentication, and would result in
false negatives.
>
> Maybe limit to just `404` or allow a filter to disable.
I think going for (only) 404 is feasable, avoiding side-effects and still
offering a huge help for detecting false links. We are talking about the
'everyday-user', not developer, right? :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36638#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list