[wp-trac] Re: [WordPress Trac] #3462: Change in 'Add link' behaviour in RTE

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 10 21:08:54 GMT 2006


#3462: Change in 'Add link' behaviour in RTE
----------------------------+-----------------------------------------------
 Reporter:  podz            |        Owner:  markjaquith
     Type:  enhancement     |       Status:  assigned   
 Priority:  lowest          |    Milestone:  2.1        
Component:  Administration  |      Version:  2.1        
 Severity:  minor           |   Resolution:             
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by markjaquith):

  * status:  new => assigned
  * owner:  anonymous => markjaquith

Comment:

 +1 for highlighting it.  anything that kills paste ability is bad.  BUT,
 we could also check for double http:// or https:// on the backend like so:

 {{{
 $url = preg_replace('|^http(s)?://http(s)?://|', 'http$2://', $url);
 }}}

 I see people doing that ALL the time, so this could be once of those nice
 "it just works" features.  Even with highlighting, people are going to get
 it wrong sometimes.

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


More information about the wp-trac mailing list