WordPress.org

Ready to get started?Download WordPress

Forums

mqTranslate
[resolved] Removed slashes (3 posts)

  1. aliuskon
    Member
    Posted 4 months ago #

    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/

  2. chsxf
    Member
    Plugin Author

    Posted 3 months ago #

    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);
  3. aliuskon
    Member
    Posted 3 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic