Make WordPress Core

Opened 2 years ago

#39870 new enhancement

Warning when an inserted link contains &preview=true

Reported by: rianrietveld Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Editor Keywords:
Focuses: administration Cc:


When a content editor adds a url for a link containing &preview=true in the content, it's in fact an invalid link. At the moment there is a check for a missing http string, the link gets a red border in the editor.

It would be nice to have this for preview=true check too, as this adding of preview links actually happens in productions sites.

Attachments (1)

warning-invalid-link.png (13.9 KB) - added by rianrietveld 2 years ago.
Red border on invalid link

Download all attachments as: .zip

Change History (1)

2 years ago

Red border on invalid link

Note: See TracTickets for help on using tickets.