CHORE Remove unnecessary whitespace in get_authors_linked_to_posts function
This commit is contained in:
parent
d0133e4aad
commit
1ff55bb638
|
|
@ -382,7 +382,7 @@ function get_authors_linked_to_posts(array $post_ids)
|
|||
foreach ($post_ids as $post_id) {
|
||||
$post_authors = get_field('authors', $post_id);
|
||||
if (empty($post_authors)) continue;
|
||||
|
||||
|
||||
foreach ($post_authors as $author) {
|
||||
$author_id = is_object($author) ? $author->ID : (int) $author;
|
||||
if ($author_id) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user