Wysiwyg 6.x-x.x, xxxx-xx-xx
---------------------------
+#333521 by sun: Fixed TinyMCE version detection docs.
#327100 by sun: Changed access permission for settings page to 'administer
filters' to prevent incomplete updates.
#322731 by sun: Fixed improper use of t() in module install file.
* The installed editor version.
*/
function wysiwyg_tinymce_version($editor) {
+ // TinyMCE >= 3 uses changelog.txt.
$changelog = wysiwyg_get_path('tinymce') . '/changelog.txt';
if (!file_exists($changelog)) {
+ // TinyMCE < 3 uses changelog.
$changelog = wysiwyg_get_path('tinymce') . '/changelog';
}
$changelog = fopen($changelog, 'r');