Ticket #6737: base-url.patch
| File base-url.patch, 1.2 kB (added by azaozz, 5 months ago) |
|---|
-
tiny_mce_config.php
old new 152 152 'dialog_type' => 'modal', 153 153 'relative_urls' => false, 154 154 'remove_script_host' => false, 155 'convert_urls' => false,156 155 'apply_source_formatting' => false, 157 156 'remove_linebreaks' => true, 158 157 'paste_convert_middot_lists' => true, … … 171 170 'old_cache_max' => '1' // number of cache files to keep 172 171 ); 173 172 173 // URL conversion settings 174 if ( get_option('use_balanceTags') ) 175 $initArray['document_base_url'] = get_option('siteurl'); 176 else $initArray['convert_urls'] = false; 177 174 178 // For people who really REALLY know what they're doing with TinyMCE 175 179 // You can modify initArray to add, remove, change elements of the config before tinyMCE.init (changed from action to filter) 176 180 $initArray = apply_filters('tiny_mce_before_init', $initArray); … … 223 227 // Setup cache info 224 228 if ( $disk_cache ) { 225 229 226 $cacheKey = apply_filters('tiny_mce_version', '2008041 4');230 $cacheKey = apply_filters('tiny_mce_version', '20080416'); 227 231 228 232 foreach ( $initArray as $v ) 229 233 $cacheKey .= $v;
