[wp-trac] [WordPress Trac] #3192: We should correct relative links
in WYSIWYG link popup
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 3 06:57:50 GMT 2006
#3192: We should correct relative links in WYSIWYG link popup
----------------------------+-----------------------------------------------
Reporter: matt | Owner: skeltoac
Type: defect | Status: new
Priority: normal | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Keywords: wysiwyg linking tinymce usability
----------------------------+-----------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/3192>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list