• Hello,

    you need to clear the slash when save options in the ‘bp-better-chat-settings’ (in french language website)

    example below get from mysql

    s";a:0:{}s:25:"restrictNewRepliesMessage";s:44:"You are not allowed to continue conversation";s:13:"restrictCalls";a:0:{}s:20:"restrictCallsMessage";s:2097196:"Vous n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'êtes pas autorisé à passer un appel";s:20:"restrictViewMessages";a:0:{}s:27:"restrictViewMessagesMessage";s:14:"Message 

    That is important, after save, the chat will be broken

    • This topic was modified 3 years, 2 months ago by WebMat.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WebMat

    (@webmatpro)

    For solution,

    line 869 to inc/options.php

    update_option( ‘bp-better-chat-settings’, $this->settings );

    to

    update_option( ‘bp-better-chat-settings’, wp_unslash($this->settings) );

    Plugin Author wordplus

    (@wordplus)

    Hi there!

    How long do you use better messages? I think this was a bug in the past but already fixed for a long time. Is it fresh install or probably this string is saved like that for a long time?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Important bug save settings translation’ is closed to new replies.