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

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 17 18:56:36 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:  minor           |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------

Comment (by nacin):

 Looks like this is the issue of browser DOM behavior:
 {{{
 if ( e = ed.dom.getParent(ed.selection.getNode(), 'A') ) {
         // Set URL and description.
         inputs.url.val( e.href );
 }}}

 Still fixable.

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


More information about the wp-trac mailing list