Issue with <multi> after SPIP is updated from 4.0.0 to 4.0.1
I manage multilingual website using SPIP, I updated it from 4.0.0 => 4.0.1 but I had to roll back as there is a issue with . It used very often - e.x. to write author titre:
<multi>[en]John.Snow[fr]John Snow[uk]Джон Сноу</multi>.
After update SPIP doesn't select the correct language from the multi string both at the frontend and backend. It shows all language versions '
[en]John.Snow[fr]John Snow[uk]Джон Сноу'.
Of course I could use |extraire_multi filter on frontend but issue with backend would be still open.
Thats why I couldn't do security upgrade for SPIP 4.0.0 website.
Hello Serge, it's a known break, and it has been corrected in all the next version (3.2, 4.0, and master) : #4969
If you can update with git (with spip-cli for ex), it's easy, else you have to wait a real release and meantime you can fix with a line in a
mes_fonctions.php of your
squelettes folder :
$GLOBALS['table_des_traitements']['NOM']['spip_auteurs'] = 'safehtml('. _TRAITEMENT_TYPO_SANS_NUMERO.')';
Deleting a branch is permanent. It CANNOT be undone. Continue?