Support » Plugin: Comments - wpDiscuz » Disabling hotlinks and image embedding

  • Resolved gcluley

    (@gcluley)


    Hi

    Great job on the plugin. There have been so many poor attempts to improve WordPress commenting – but this one looks like it has real promise.

    Will you offer the option to *disable* the automatic embedding of images and turning URLs into hot links in a future version?

    https://wordpress.org/plugins/wpdiscuz/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi gcluley,
    Thank you for your interest in wpDiscuz. That’s a good idea, and I think we’ll add it in our to-do list. For now you can open wpdiscuz/includes/wc-helper.php file, then find this part of code (only for links):

    return $matches[1] . "<a href=\"$url\" rel=\"nofollow\">$url</a>" . $ret;

    and change it to this:

    return $dest;

    Thanks for the suggestion!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disabling hotlinks and image embedding’ is closed to new replies.