Opened 7 years ago

Closed 6 years ago

#3192 closed defect (bug) (fixed)

We should correct relative links in WYSIWYG link popup

Reported by: matt Owned by: skeltoac
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)

related to 2579 and closed in 4577?

comment:2   matt6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Yep, this should be pretty much fixed by pre-populating the http:// in the box. That's a simpler solution anyway! Less code = better.

Note: See TracTickets for help on using tickets.