fix var name
This commit is contained in:
parent
86c8148cde
commit
3017e10e06
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class Activity_Dispatcher {
|
|||
*/
|
||||
public static function send_update_comment_activity( $activitypub_comment_id ) {
|
||||
$activitypub_comment = \get_comment( $activitypub_comment_id );
|
||||
$updated = \get_comment_meta( $comment->comment_ID, 'ap_last_modified', true );
|
||||
$updated = \get_comment_meta( $activitypub_comment_id, 'ap_last_modified', true );
|
||||
|
||||
$user_id = $activitypub_comment->user_id;
|
||||
if ( ! $user_id ) { // Prevent sending received/anonymous comments.
|
||||
|
|
Loading…
Reference in a new issue