Forums

wptexturize() in formatting.php (1 post)

  1. Satya Prakash
    Member
    Posted 2 years ago #

    // static strings
    $curl = str_replace($static_characters, $static_replacements, $curl);
    // regular expressions
    $curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);

    I am thinking of commenting the above lines in formatting.php. Is there any security issue with these?
    I post scripts/code on my post. I do not want to disable it as I have found at other place thinking it is doing lots of stuff and I need to test it. and that I am not sure where else it will cause problems.

    I saw it is working on my local env.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.