Package: wordpress Version: 2.3.3+fr-2 Severity: minor The check that changes "fr_FR" to "fr" in MCE is an assignment (a "=" is used instead of "==", so the visual editor always starts with the french locale.
A trivial patch is attached for wp-includes/js/tinymce/tiny_mce_config.php. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (500, 'stable'), (60, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.16.29-xen (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wordpress depends on: ii apache2 2.2.6-2 Next generation, scalable, extenda ii apache2-mpm-prefork [ht 2.2.6-2 Traditional model for Apache HTTPD ii libapache2-mod-php5 5.2.3-1+lenny1 server-side, HTML-embedded scripti ii libphp-phpmailer 1.73-6 full featured email transfer class ii mysql-client-5.0 [virtu 5.0.45-1+lenny1 MySQL database client binaries ii php4-gd 6:4.4.4-9+lenny1 GD module for php4 ii php5 5.2.3-1+lenny1 server-side, HTML-embedded scripti ii php5-mysql 5.2.3-1+lenny1 MySQL module for php5 wordpress recommends no packages. -- no debconf information
--- tiny_mce_config.php.orig 2008-03-16 18:17:41.000000000 +0100 +++ tiny_mce_config.php 2008-03-16 18:16:26.000000000 +0100 @@ -50,7 +50,7 @@ } $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower(get_locale()); - if ($mce_locale = 'fr_FR') { + if ($mce_locale == 'fr_FR') { $mce_locale = 'fr'; }