• dlyongemallo

    (@dlyongemallo)


    I ran into the same problem described in this post, in that slashes are added in front of quotes in several of the options on the options page.

    I’ve edited the plugin to make things work, but I’m not sure if doing so breaks anything else, so I thought I’d post my change here. In the options.php file (version 3.0.13 of plugin), on line 141, change “$value = yarpp_get_option($option,true);” to “$value = stripslashes(yarpp_get_option($option,true));”. It seems that “stripslashes” is called when most other options are retrieved, there doesn’t seem to be a reason why it’s not called when the “no_results” option is retrieved.

    — davinci

    https://www.ads-software.com/extend/plugins/yet-another-related-posts-plugin/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] slashes added to quotes in textboxes’ is closed to new replies.