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

(Sudaraka Jayathilaka) #1

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:

(Simon Cossar) #2

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: GitHub - discourse/wp-discourse at beta. I’ll get it onto the master branch on Monday and into the WordPress repo sometime next week.

(Sudaraka Jayathilaka) #3

Thank you a lot @Simon_Cossar :blush:

(Simon Cossar) #4

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

(Sudaraka Jayathilaka) #5

Thank you @Simon_Cossar :slight_smile: