Skip to content

Commit

Permalink
Ensure that openlab_comment_email_boilerplate() receives necessary pa…
Browse files Browse the repository at this point in the history
…rams.

See #3242.
  • Loading branch information
boonebgorges committed Sep 11, 2023
1 parent 2abfbf8 commit 9b9e57b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-content/plugins/wds-citytech/includes/group-blogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ function openlab_olgc_notify_postauthor( $comment_id, $comment ) {
sprintf( '<a href="%s">%s</a>', $comment_link, $comment_link )
);

$message = openlab_comment_email_boilerplate( $message );
$message = openlab_comment_email_boilerplate( $message, $comment_id );

wp_mail( $author_user->user_email, $subject, $message );
}
Expand Down Expand Up @@ -1884,7 +1884,7 @@ function openlab_olgc_notify_instructor( $comment_id, $comment ) {
sprintf( '<a href="%s">%s</a>', $comment_link, $comment_link )
);

$message = openlab_comment_email_boilerplate( $message );
$message = openlab_comment_email_boilerplate( $message, $comment_id );

$comment_user = get_userdata( $comment->user_id );

Expand Down Expand Up @@ -1956,7 +1956,7 @@ function openlab_olpc_notify_comment_author_of_reply( $comment_id, $comment ) {
sprintf( '<a href="%s">%s</a>', $comment_link, $comment_link )
);

$message = openlab_comment_email_boilerplate( $message );
$message = openlab_comment_email_boilerplate( $message, $comment_id );

wp_mail( $recipient->user_email, $subject, $message );
}
Expand Down

0 comments on commit 9b9e57b

Please sign in to comment.