Ticket #2829: 2829fix.diff
File 2829fix.diff, 608 bytes (added by , 18 years ago) |
---|
-
wp-includes/js/tinymce/tiny_mce_gzip.php
35 35 36 36 37 37 // Fall back on en.js 38 if ( empty($text) ) 39 $text = file_get_contents(realpath(sprintf($path, 'en'))); 38 $file = realpath(sprintf($path, 'en')); 39 if ( empty($text) && file_exists($file) ) 40 $text = file_get_contents($file); 40 41 41 42 // Send lang file through gettext 42 43 if ( function_exists('__') && strtolower(substr($language, 0, 2)) != 'en' ) {