Make WordPress Core

Opened 7 years ago

Last modified 4 years ago

#31517 closed enhancement

Customizer: show a notice after attempting to navigate to external links in live previews — at Initial Version

Reported by: designsimply Owned by:
Milestone: 4.7 Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch needs-testing
Focuses: ui, javascript Cc:


The Customizer only allows you to click internal, front-end links within a preview to navigate to URLs you can customize:

Clicking on an external link from the live preview pane fails silently. To help avoid confusion, we could display a notice to alert when someone clicks on an external link in a live preview:

⚠ You can only preview internal, front-end links in the customizer.

Here is a past description of how a customizer notice could work from @westonruter: https://core.trac.wordpress.org/ticket/30677#comment:7 (different use case, but the part about how the alert might work is relevant)

#29098 provides a general mechanism for sending back error codes/messages.

Change History (0)

Note: See TracTickets for help on using tickets.