Skip to content

Commit

Permalink
Merge pull request #31 from Hackkzy/master
Browse files Browse the repository at this point in the history
v1.7.7
  • Loading branch information
BhargavBhandari90 authored Feb 16, 2024
2 parents 199ea50 + cf311d2 commit ded8f65
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Tags:** comments, mention, email, user, bbpress
**Requires at least:** 4.6
**Tested up to:** 6.4.3
**Stable tag:** 1.7.6
**Stable tag:** 1.7.7
**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.7 ###
* Bug Fix : Unable to mention user on freshly installed `Comment Mention`.

### 1.7.6 ###
* Update plugin issue fix.

Expand Down
6 changes: 5 additions & 1 deletion app/includes/common-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,11 @@ function cmt_mntn_check_enabled_userroles() {

$cmt_mntn_settings = get_option( 'cmt_mntn_settings' );

if ( ! empty( $cmt_mntn_settings ) || ! array_key_exists( 'cmt_mntn_enabled_user_roles', $cmt_mntn_settings ) ) {
if ( empty( $cmt_mntn_settings ) || ! is_array( $cmt_mntn_settings ) ) {
return true;
}

if ( ! array_key_exists( 'cmt_mntn_enabled_user_roles', $cmt_mntn_settings ) ) {
return true;
}

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.6
* Version: 1.7.7
*
* @package Comment_Mention
*/
Expand All @@ -21,7 +21,7 @@
/**
* The version of the plugin.
*/
define( 'CMT_MNTN_VERSION', '1.7.6' );
define( 'CMT_MNTN_VERSION', '1.7.7' );
}
if ( ! defined( 'CMT_MNTN_PATH' ) ) {
/**
Expand Down
2 changes: 1 addition & 1 deletion 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-02-15 08:06:37+00:00\n"
"POT-Creation-Date: 2024-02-16 15:20:22+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
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.3
Stable tag: 1.7.6
Stable tag: 1.7.7
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.7 =
* Bug Fix : Unable to mention user on freshly installed `Comment Mention`.

= 1.7.6 =
* Update plugin issue fix.

Expand Down

0 comments on commit ded8f65

Please sign in to comment.