Opened 7 years ago
Closed 6 years ago
#3192 closed defect (bug) (fixed)
We should correct relative links in WYSIWYG link popup
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | wysiwyg linking tinymce usability |
| Cc: |
Description
I've seen a pretty common error. People use the link popup and type in something like:
www.example.com
Which because they forgot the HTTP generally points to:
http://www.example.com/www.example.com
Because of the way WP does permalinks, it is extremely unlikely anyone will ever do a relative link in a post.
Suggested fix: When a link doesn't start with "http://" or "/" then preface the link with "http://" when closing the link popup.
Alternate: Prepopulate the link popup input form with "http://" like we do in the links manager.
Change History (2)
Note: See
TracTickets for help on using
tickets.

related to 2579 and closed in 4577?