WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Yet Another Related Posts Plugin] slashes added to quotes in textboxes (2 posts)

  1. dlyongemallo
    Member
    Posted 4 years ago #

    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

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. I've incorporated this into an upcoming beta, 3.0.14b1. Please test it when I release it (soon). Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic