Support » Plugin: Transposh WordPress Translation » Plus sign ( ) not saved in translations

  • Hello,
    I noticed that the plus sign ‘+’ is not saved in translations when Transposh writes into the database.
    Now I applied a patch, in transposh_db.php I replaced the line:
    $translation = $GLOBALS['wpdb']->escape(htmlspecialchars(stripslashes(urldecode($translation))));
    with:

    $translation = str_replace('+','--plussign--',$translation);
     $translation = $GLOBALS['wpdb']->escape(htmlspecialchars(stripslashes(urldecode($translation))));
    $translation = str_replace('--plussign--','+',$translation);

    I hope it will be fixed in next version! Thanks

    http://wordpress.org/plugins/transposh-translation-filter-for-wordpress/

  • The topic ‘Plus sign ( ) not saved in translations’ is closed to new replies.