Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackkzy committed Mar 13, 2024
1 parent f7ed852 commit ff2e50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/includes/common-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function cmt_mntn_mail_setting( $uid, $post_id ) {
$cmt_mntn_comment_link = trailingslashit( get_permalink( $post_id ) ) . '#post-' . intval( $post_id );

// Get topic id related to reply.
if ( 'reply' === get_post_type( $post_id ) && function_exists( 'bbp_get_reply_topic_id' ) ) {
if ( 'reply' === get_post_type( $post_id ) && function_exists( 'bbp_get_reply_url' ) ) {

// Get current comment link.
$cmt_mntn_comment_link = bbp_get_reply_url( (int) $post_id );
Expand Down

0 comments on commit ff2e50c

Please sign in to comment.