Skip to content

Commit

Permalink
Merge pull request #28 from Hackkzy/dev
Browse files Browse the repository at this point in the history
v1.7.4
  • Loading branch information
BhargavBhandari90 authored Jan 18, 2024
2 parents 47d2fce + 2d98a3e commit b08c82b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
**Donate link:** https://www.paypal.me/BnB90/50
**Tags:** comments, mention, email, user, bbpress
**Requires at least:** 4.6
**Tested up to:** 6.4.2
**Stable tag:** 1.7.3
**Tested up to:** 6.4.2
**Stable tag:** 1.7.4
**Requires PHP:** 5.6
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -62,6 +62,9 @@ e.g.

## Changelog ##

### 1.7.4 ###
* Minor bug fix.

### 1.7.3 ###
* Added shortcode support for Email subject.

Expand Down
5 changes: 5 additions & 0 deletions app/main/class-comment-mention.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@ public function cmt_mntn_preprocess_comment( $comment_ID, $comment_status, $comm
// Get usernames from comment content.
$usernames = $this->cmt_mntn_find_mentions( $content );

// Bail if $usernames empty.
if ( empty( $usernames ) || ! is_array( $usernames ) ) {
return;
}

// Iterate the username loop.
foreach ( $usernames as $username ) {

Expand Down
4 changes: 2 additions & 2 deletions comment-mention.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author URI: https://bhargavb.com
* Text Domain: comment-mention
* Domain Path: /languages
* Version: 1.7.3
* Version: 1.7.4
*
* @package Comment_Mention
*/
Expand All @@ -21,7 +21,7 @@
/**
* The version of the plugin.
*/
define( 'CMT_MNTN_VERSION', '1.7.3' );
define( 'CMT_MNTN_VERSION', '1.7.4' );
}
if ( ! defined( 'CMT_MNTN_PATH' ) ) {
/**
Expand Down
8 changes: 4 additions & 4 deletions languages/lang.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/comment-mention\n"
"POT-Creation-Date: 2024-01-05 08:03:08+00:00\n"
"POT-Creation-Date: 2024-01-19 06:35:06+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -96,7 +96,7 @@ msgstr ""
msgid "Settings Saved"
msgstr ""

#: app/includes/common-functions.php:71 app/main/class-comment-mention.php:438
#: app/includes/common-functions.php:71 app/main/class-comment-mention.php:443
msgid "You were mentioned in a comment"
msgstr ""

Expand All @@ -108,8 +108,8 @@ msgstr ""
msgid "Enable User Mention in Topics & Replies Content"
msgstr ""

#: app/main/class-comment-mention.php:381
#: app/main/class-comment-mention.php:430
#: app/main/class-comment-mention.php:386
#: app/main/class-comment-mention.php:435
msgid "Someone"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/BnB90/50
Tags: comments, mention, email, user, bbpress
Requires at least: 4.6
Tested up to: 6.4.2
Stable tag: 1.7.3
Stable tag: 1.7.4
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -62,6 +62,9 @@ e.g.

== Changelog ==

= 1.7.4 =
* Minor bug fix.

= 1.7.3 =
* Added shortcode support for Email subject.

Expand Down

0 comments on commit b08c82b

Please sign in to comment.