Support » Plugin: mqTranslate » Removed slashes

  • Resolved aliuskon

    (@aliuskon)


    Hello, I am having problems with backward slashes, “\”, inside my posts (I’m using them while writing equations in LaTeX). It appears that mqTranslate tends to strip them away.

    To reproduce:
    1. disable all plugins except mqTranslate (just to be sure)
    2. create new post
    3. enter “\\\\” as post content
    4. press Publish
    5. observe that now only “\\” remains

    This happens both while using rich text editor and html code editor.
    The problem was absent while using WP 3.8 with qTranslate.

    https://wordpress.org/plugins/mqtranslate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author chsxf

    (@chsxf)

    We have found the cause of this bug.
    The next release will include a fix for it.

    It the mean time, you can edit mqtranslate_xhaleera_addons.php and change line 219 to :

    if (get_magic_quotes_gpc())
    		$data = stripslashes_deep($data);

    Thank you for great support. Now everything is working great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removed slashes’ is closed to new replies.