[wp-trac] Re: [WordPress Trac] #6737: TinyMCE converts relative links incorrectly (adds wp-admin)

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 18 15:22:33 GMT 2008


#6737: TinyMCE converts relative links incorrectly (adds wp-admin)
-----------------------------------+----------------------------------------
 Reporter:  Otto42                 |        Owner:  azaozz
     Type:  defect                 |       Status:  new   
 Priority:  high                   |    Milestone:  2.5.1 
Component:  TinyMCE                |      Version:  2.5   
 Severity:  critical               |   Resolution:        
 Keywords:  2nd-opinion has-patch  |  
-----------------------------------+----------------------------------------
Comment (by Otto42):

 That patch would work, but seems a bit odd to me. I think this makes more
 sense:

 1. 'document_base_url' => get_option('url') should be in the TinyMCE
 initArray all the time. It doesn't make sense that this is set wrong,
 ever.

 2.
 {{{
 // URL conversion settings
 if ( get_option('use_balanceTags') ) {
         $initArray['convert_urls'] = true;
         $initArray['relative_urls'] = false;
 } else {
         $initArray['convert_urls'] = false;
 }
 }}}

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


More information about the wp-trac mailing list