[wp-trac] [WordPress Trac] #18149: Removing "http://" in Insert/edit link causes incorrect URL

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 19 19:44:45 UTC 2011


#18149: Removing "http://" in Insert/edit link causes incorrect URL
----------------------------+-----------------------
 Reporter:  itsalltech1     |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------

Comment (by azaozz):

 Replying to [comment:11 SergeyBiryukov]:
 > ...If you just insert link into the post, the URL remains unchanged,
 however if you click “Insert/edit link” for the second time, in that
 window it will be prepended with `http://example.com/wp-admin/`.
 > According to TinyMCE docs, it shouldn't convert relative URLs to
 absolute when convert_urls is set to false. I wonder why that doesn't work
 in this case.

 Probably because the 'wplink' plugin doesn't use the TinyMCE internal
 methods when editing a link. Will look into it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18149#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list