# Discourse WordPress plugin version 0.7.0

**URL:** <https://meta.discourse.org/t/discourse-wordpress-plugin-version-0-7-0/44461>\
**Category:** WordPress\
**Created:** [18 مايو 2016، 10:54م UTC](https://meta.discourse.org/t/discourse-wordpress-plugin-version-0-7-0/44461 "2016-05-18T22:54:39Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [21 يوليو 2016، 7:43م UTC](https://meta.discourse.org/t/discourse-wordpress-plugin-version-0-7-0/44461/20 "2016-07-21T19:43:00Z")

</div>

Just pushed version 0.9.3 to the WordPress plugin repository. It includes fixes for:

- substituting the comment url for the comment\_url tag
- not escaping the `data-youtube-id` attribute
- internationalizing the `comments_number` function

Here’s a sample function for changing the comments number text:

```plaintext
add_filter( 'gettext', 'change_comments_number_text', 20, 3 );
function change_comments_number_text( $translated_text, $text, $domain ) {
	switch ( $translated_text ) {
		case 'Leave a reply' :
			$translated_text = __( 'Please leave a reply', 'wp-discourse' );
			break;

		case 'Reply' :
			$translated_text = __( 'Response', 'wp-discourse' );
			break;

		case 'Replies' :
			$translated_text = __( 'Responses', 'wp-discourse' );
			break;
	}

	return $translated_text;
}

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-wordpress-plugin-version-0-7-0/44461)._
