comments fail for non-default language
-
Hi,
last night I updated to WP 3.9.1 and switched from qtranslate to mqtranslate. While it looked smooth so far I just found that commenting does no longer work, when the site is shown in the non-default language.
It seems along the way the comment field get renamed as the language is changed. For the same blogpost I have the comment field named c4516-comment on the english page and cf066-comment for the german version. when hacking wp-comment-post.php to find more info I see that when posting from the english page $_POST[‘c4516-comment’] is nul but $_POST[‘comment’] is set. Posting from the german version keeps $_POST[‘comment’] unset but has the comment in $_POST[‘cf066-comment’]
This case fails as we later check if the comment has content. But thats not the case when posting from the german page.
Is this a known problem? Is there a solution I haven’t discovered yet?Thanks a lot!
Bernd
The topic ‘comments fail for non-default language’ is closed to new replies.