Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #253719

    I built some layers for a site I’m working on containing text sliders with hebrew text, upon displaying the layers some of the text was transformed into some unknown characters. After some debugging I have gotten to this file:
    “config-layerslider/LayerSlider/wp/shortcodes.php”
    and to this line:
    “$data = trim(preg_replace(‘/\s+/’, ‘ ‘, $data));”
    Now apparently some hebrrew unicode text was replaced by this preg_replace, since all my layer text is in hebrew I had no problems replacing this with:
    “$data = trim(preg_replace(‘/\s+/u‘, ‘ ‘, $data))”
    but I think a future fix to the layerslider might be in order to support this kind of situations.

    Thank you!

    #253797

    Shalom Shaip!

    Thanks for the heads up. I will inform Kriesi about it

    Cheers!
    Yigit

    #253858

    Hey!

    We’re not the developers of LayerSlider. I recommend to report the bug here: http://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin-/1362246/comments – I guess the plugin author will add it to the next plugin update if your fix makes sense.

    Regards,
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.