Front-end Editor
[resolved] Why are links in comments not shown if they are edited? (3 posts)

  1. 1BJK903
    Posted 2 years ago #

    Hi Scribu,

    I asked you this question earlier, maybe you can answer me now and solve this problem I have...

    When I edit a comment in which there is a link to an external site or whatsoever, I can't see this link being linked until it is refreshed. Even so with the Youtube video's. If they are edited, I can't see it until I refresh the page. Why is this and how can I solve this?


  2. scribu
    Plugin Author

    Posted 2 years ago #

    I have encountered this bug before, but I just now realized what's causing it: the 'comment_text' filter is not applied on the updated comment content. The make_clickable() function, which makes the links in the content clickable, is hooked to this 'comment_text' filter.

    Anyway, it's fixed now: https://github.com/scribu/wp-front-end-editor/commit/e590a39522c89ca8016e52f7dcc26d33d552e69c

    You can try out that fix by downloading the Development Version (2.3.2-alpha).

  3. 1BJK903
    Posted 2 years ago #

    Terrific! You rock man, thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Front-end Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic