Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ function coauthors__echo( $tag, $type = 'tag', $separators = array(), $tag_args

// Fallback to user_login if we get something empty
if ( empty( $author_text ) ) {
$author_text = $i->current_author->user_login;
if(!is_bool($i->current_author)){
$author_text = $i->current_author->user_login;
}
}

// Append separators
Expand Down