diff --git a/functions.php b/functions.php index e76d1f9..d8a5c81 100644 --- a/functions.php +++ b/functions.php @@ -41,3 +41,4 @@ require(__DIR__.'/lib/tiny_mce.php'); require(__DIR__.'/lib/image-default-link-type.php'); require(__DIR__.'/lib/feeds.php'); +require(__DIR__.'/lib/set-archive-author.php'); diff --git a/lib/byline.php b/lib/byline.php index 670c486..4d18062 100644 --- a/lib/byline.php +++ b/lib/byline.php @@ -4,17 +4,11 @@ function gds_byline() { ?> - 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); + Posted by: + - , Posted on: +