Allow '{comment_url}' to be used when customizing comments using wpd_comment_body filter

Hello all,
I was working on customizing the comment content using wpd_comment_body filter. One of the requirements was to add the link to the exact comment in the end of the comment posted in wordpress site. I made a small tweak in the plugin and made a PR. Can you please take a look :slight_smile:

https://github.com/discourse/wp-discourse/pull/313

4 Likes

Thanks! The template comments were showing {comments_url} as an available tag, but the plugin wasn’t using it. I’ve merged your change into the beta branch: https://github.com/discourse/wp-discourse/tree/beta. I’ll get it onto the master branch on Monday and into the WordPress repo sometime next week.

6 Likes

Thank you a lot @simon :blush:

1 Like

This change is in version 1.6.4 of the plugin. It’s in the WordPress repo now.

3 Likes

Thank you @simon :slight_smile: