WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 5 months ago

#39870 closed enhancement (reported-upstream)

Warning when an inserted link contains &preview=true

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

Description

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 3 years ago.
Red border on invalid link

Download all attachments as: .zip

Change History (2)

@rianrietveld
3 years ago

Red border on invalid link

#1 @isabel_brison
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.