diff --git a/lib/byline.php b/lib/byline.php
index 4d18062..bc608ad 100644
--- a/lib/byline.php
+++ b/lib/byline.php
@@ -4,11 +4,17 @@
function gds_byline()
{
?>
- Posted by:
- Posted by: ID );
+ $tmp_user = get_user_by('id', $author_id );
+ if (empty($tmp_user->user_login)) {
+ echo "Deleted user $tmp_author_id";
+ error_log("{$post->ID} has deleted user $tmp_author_id", 0);
} else {
- ?>