Skip to content

Commit

Permalink
Filter comment author name for deleted users.
Browse files Browse the repository at this point in the history
See #3340.
  • Loading branch information
boonebgorges committed Jul 24, 2024
1 parent faa70c4 commit ffebed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wp-content/plugins/wds-citytech/wds-citytech.php
Original file line number Diff line number Diff line change
Expand Up @@ -1838,6 +1838,7 @@ function openlab_deleted_comment_author_name( $author, $comment_ID, $comment ) {

return 'Account Deleted';
}
add_filter( 'get_comment_author', 'openlab_deleted_comment_author_name', 10, 3 );

/**
* Adds the URL of the user profile to the New User Registration admin emails
Expand Down

0 comments on commit ffebed8

Please sign in to comment.